Remove link in the picture information. Remove link in the picture information.
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Remove link in the picture information.

Started by Jaap, January 01, 2004, 07:06:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jaap

How can remove link in the picture information.

I have now....

Filename:
Album name:
File Size:
Dimensions:
Displayed:
URL:    I will remove this

Casper

In displayimage.php, look for this code (about line 275);
// Create the absolute URL for display in info
    $info['URL'] = '<a href=' . $CONFIG["ecards_more_pic_target"] . '/' . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . ' >' . $CONFIG["ecards_more_pic_target"] . '/' . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';


and comment it out with '//' like this;
// Create the absolute URL for display in info
   // $info['URL'] = '<a href=' . $CONFIG["ecards_more_pic_target"] . '/' . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . ' >' . $CONFIG["ecards_more_pic_target"] . '/' . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here