Change the Link Change the Link
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.