change mouse over image size on deletion page

primedomain

Joined: 2002-11-09
Posts: 110
Posted: Wed, 2008-05-07 18:34

Hello,

On the deletion page, when selecting check boxes of photos to be deleted, gallery displays a larger version of the photo upon mouse over. Where I can change the size of the mouse over image? (Matrix theme)

Thanks.

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Wed, 2008-05-07 21:07

modules/core/templates/ItemDelete.tpl
context: "thumb_{$peer.id}", text: '{g->image item=$peer image=$peer.resize class="giThumbnail" maxSize=500 alt="" longdesc="" }',

Change the 500

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
primedomain

Joined: 2002-11-09
Posts: 110
Posted: Wed, 2008-05-07 22:02

thanks for your response.
It doesn't seem to change anything, though. I deleted the template/databse cache, but the mouse over image keeps unchanged. I am possibly overlooking sth...

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Wed, 2008-05-07 23:24

You want to make them bigger or smaller? They use the thumbnail size and can make it bigger that the thumb size of the item. the maxsize parameter only makes things smaller.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
primedomain

Joined: 2002-11-09
Posts: 110
Posted: Thu, 2008-05-08 10:19

ok, I see. I want to make them bigger, actually. I take it that it's not possible to enlarge the images just on the deletion page without changing the thumbnail size globally?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Thu, 2008-05-08 19:12

not that I know.
You can make the image bigger ( not the popover image) with this bit of code:

    <colgroup width="60"/>
    {foreach from=$ItemDelete.peers item=peer}
    <tr>
      <td align="center">
	{if isset($peer.thumbnail)}
	  <a id="thumb_{$peer.id}" href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$peer.id`"}">
	    {g->image item=$peer image=$peer.thumbnail maxSize=50 class="giThumbnail"}
	  </a>

You will have to change the 50 as well as the width of the colgroup I suspect.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
primedomain

Joined: 2002-11-09
Posts: 110
Posted: Thu, 2008-05-08 19:59

thanks. The thumbnail size seems to be the max size. That's not perfect, but the thumbnail size is big enough for actually being able to decide whether or not to a delete a photo.

Login or register to post comments