Remove Link On Intermediate Pictures Remove Link On Intermediate Pictures
 

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

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.