Change the Link Change the Link
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Change the Link

Started by Rheinland, February 26, 2005, 12:48:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rheinland

Hello,
sorry for my bad english. i will test coppermin for my webprojekt. And now i have a problem. If you in the gallerie and show a photo and you click on the photo then a new window open with the photo. How can i change it that if you click on the photo you come back to the last thumbnail overview.

http://www.lev-rheinland.de/include.php?src=http://web86.server14.webserver-projekt.de/cpg132/thumbnails.php?album=1&nornav=1

Thank you for your help.

regards

Andreas
http://www.lev-rheinland.de

Joachim Müller

edit displayimage.php, find            $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";and replace with            $pic_html = "<a href=\"javascript:history.back();\" title=\"back to previous page\">";to return to the previous page. To return to the thumbnail page, do this instead:            $pic_html = "<a href=\"thumbnails.php?album=$album\" title=\"back to thumbnail overview\">";(not tested though).

Joachim

Rheinland

Thank you for the fast help.