Hi,
I would like to know if it's possible to display the full res information eg:2478x1950 under the thumbnails but without granting the permission to the user to display the full res.
After looking at the debug output for an album page, the information doesn't seem to be available.
Still, we are able to do it in the image block using $block.item.width x $block.item.height so I'm wondering if there is a way to access this information in the album page, but for other thumbnails than the image block.
Any help would be greatly appreciated,
Marc Salvetti
Posts: 16504
Sure, set the permission so guest users can see the full res images and you're all set.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16504
Oh, wait, I see what you're asking for, um, I'm going to have to dig into it and see. Maybe someone else knows off the top of their head.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 27300
{$child.height}X{$child.width}
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
Thanks for your reply,
after checking your solution, it appears that the size displayed using $child.width is of the resized version, not the full res picture.
Any other idea ?
Marc Salvetti
http://iconsulting-fr.com
Posts: 27300
Seems to work for me but I have has a couple of beers so I might be making a mistake.
look at http://www.langleycom.com/gallery2/main.php?g2_itemId=34
the first image has permissions so you can only see the resized version.
under the thumb it says: 2304 ( {$child.height} ) all other thumbs have the same size and all other items you can view the full sized image.
cache? or I don't understand.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
My bad, I've been testing on an album that was containing smaller fullres, so I got confused and tought the info was the resize while it was the full res
$child.width works well, thanks very much for your help
Marc Salvetti
http://iconsulting-fr.com