coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: freesouljah on July 25, 2006, 05:24:30 AM

Title: Album Title under Image
Post by: freesouljah on July 25, 2006, 05:24:30 AM
Greetings,

I am trying to make the album title w/ link to appear under the image on displayimage.php

<img>
<A HREF="http://site.com/">' . $CURRENT_ALBUM_DATA['title'] . ' </a>


I tried adding {ALBUM_NAME} & {ALBUM_TITLE} as they are coded in 'theme_display_thumbnails' and 'theme_display_album_list', respectively...but without any luck...

peace
8)
Title: Re: Album Title under Image
Post by: Sami on July 25, 2006, 07:01:19 AM
don't understand what you want !

you already have $CURRENT_ALBUM_DATA['title'] for album title
and $CURRENT_PIC_DATA['aid'] for album reference
something like
<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a>
would create a link to album
Title: Re: Album Title under Image
Post by: freesouljah on July 26, 2006, 04:30:14 AM
lol  :D

I don't know what I was trying to do...it must of been the lack of sleep impeding my progress...

thanks for setting me straight...

peace
8)