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

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 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