Remove Link On Intermediate Pictures Remove Link On Intermediate Pictures
 

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

Remove Link On Intermediate Pictures

Started by EGeekBMe, August 02, 2006, 12:11:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EGeekBMe

Hello All.

I would like to remove the link TO the Full Size Picture FROM the intermediate picture.  I typically batch upload all my pictures and then let the app resize them into the intermediate versions.  Then I delete the full size pictures to save the space and ultimately the bandwidth.

My host had CPG 1.2.1 and I was able to comment out the following line in displayimage.php and the link no longer appeared:

$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')\">";


I have upgraded to 1.4.8 and the code has changed so much I cannot figure out when to make the necessary change to accomplish this.

Please advise.
Thanks!

Sami

Copy theme_html_picture() function from themes/sample/theme.php to your theme (if you don't have it already) and change the $pic_html the way you want
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Go to admin tools, check "Delete original size photos (1)", choose your album (you could select all albums), submit.