coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: Jaap on January 01, 2004, 07:03:45 PM

Title: remove link in the picture information.
Post by: Jaap on January 01, 2004, 07:03:45 PM
How can remove link in the picture information.

I have now....

Filename:
Album name:
File Size:
Dimensions:
Displayed:
URL:    I will remove this
Title: remove link in the picture information.
Post by: Joachim Müller on January 01, 2004, 08:18:25 PM
the url linking to the pic is being created in displayimage.php around  line 275 (look for// Create the absolute URL for display in infoand the stuff that comes after it. Just comment out the line    $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>';by putting two slashes in front of it.

GauGau
Title: remove link in the picture information.
Post by: Joachim Müller on January 01, 2004, 08:22:04 PM
after browsing through the board I found out that you have posted the very same question on another board (http://forum.coppermine-gallery.net/index.php?topic=2785) as well and you got the same answer). Do not double-post :evil: , you're wasting our time :x !!!

Consider yourself warned, next time you'll be banned!

GauGau