[Solved]: Changing thumbnail links in "thumbnails.php" [Solved]: Changing thumbnail links in "thumbnails.php"
 

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

[Solved]: Changing thumbnail links in "thumbnails.php"

Started by sgt_goomba, June 04, 2004, 01:05:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sgt_goomba

Hi, I'm modding my board for my needs, and there's one part I can't get past. I'm trying to change it so that the thumbnails in a modified "thumbnails.php" (thumbnails2.php) links to a modified "displayimage.php" (which I named displayimage2.php).
I've been all through the code in thumbnails.php, and the php pages that it calls up, but I can't figure out how to insert a simple "2" into the links that thumbnails.php creates for the thumbnails.

example: trying to get a modified thumbnails.php page to change the name of the links it makes
http://www.koopatorivm.com/gallery/displayimage.php?album=36&pos=0
to be this
http://www.koopatorivm.com/gallery/displayimage2.php?album=36&pos=0

Can anybody point me in the right direction....please.

Joachim Müller

edit themes/yourtheme/theme.php and find'{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",

GauGau

sgt_goomba

Ohhhh!! I never thought to look in themes. I was just combing though the thumnails.php and the include files. Thanks gau gau. I should be able to figure something out now.