News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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.