forum.coppermine-gallery.net

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

Code: [Select]
<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
Code: [Select]
<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)