Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Display Title In Navigation Bar  (Read 2543 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • Concert Photos @
Display Title In Navigation Bar
« on: March 07, 2005, 07:06:49 am »

On the image page, is it possible to include the image title (or file name if there isn't a title) in the navigation menu?  So it would read something like "Picture Title (File 1/20)".  

Can this be done?


-- Steph B.


  • Guest
Re: Display Title In Navigation Bar
« Reply #1 on: March 07, 2005, 02:52:37 pm »

displayimage.php, find

Code: [Select]
$pic_pos = sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
change to

Code: [Select]
$pic_pos = max($CURRENT_PIC_DATA['title'], $CURRENT_PIC_DATA['filename']) . ' ' . sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
Pages: [1]   Go Up

Page created in 0.013 seconds with 20 queries.