coppermine-gallery.com/forum

No Support => Feature requests => Topic started by: cftranslate on August 01, 2006, 12:41:23 AM

Title: Open a pop-up window for full larger image
Post by: cftranslate on August 01, 2006, 12:41:23 AM
Being a php programmer I have been trying to change the code in thumbnails.php when an album pictures are displayed so that when I click on them they don't call displayimage.php but a custom pop-up window opens with the picture.

I think that the proper arrangement for an intuitive gallery would be for a pop-up to open for full screen picture (or at least having that option in configuration). Clicking on a thumbnail to go to other page with the pic requires going back to the album to keep watching pics.

A much better more elegant solution would be a full screen pop-up (800x600 or 1024x768) that's closed to get the the album thumbnails again.

I have not been able to implement this modification because beside the album number, I need the pic name or id instead of pic position currently passed as  displayimage.php?album=xxx&position=xxx.

FEATURE REQUEST:

Thumnails call a javascript function that contains a window.open statement to which album, pic id and possibly pic width and size are passed for the pic to fit exactly into the  pop-up window

If this (to me elegant feature)  is not considered,
How could I change thumbnails.php? My main problem is to know the php variables that contain album number and a inique pic id, or how to handlle pic position to get to a particulat picture. Another problem is increasing total gallery views counter and particular pictures views counter.

Thanks


Title: Re: Open a pop-up window for full larger image
Post by: Sami on August 01, 2006, 05:58:50 AM
http://forum.coppermine-gallery.net/index.php?topic=34360.0
Title: Re: Open a pop-up window for full larger image
Post by: Joachim Müller on August 01, 2006, 07:26:34 AM
Already is in the devel branch of the svn, so I'm marking this thread accordingly.