Advanced search  

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

Pages: [1]   Go Down

Author Topic: remove link in the picture information.  (Read 8180 times)

0 Members and 1 Guest are viewing this topic.

Jaap

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
remove link in the picture information.
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
remove link in the picture information.
« Reply #1 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
Code: [Select]
// Create the absolute URL for display in infoand the stuff that comes after it. Just comment out the line
Code: [Select]
   $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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
remove link in the picture information.
« Reply #2 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 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.