coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: EC on November 23, 2008, 05:34:02 PM

Title: add info on keywords next to title
Post by: EC on November 23, 2008, 05:34:02 PM
Hi All,
I would like to add a feature to my coppermine gallery (www.fotonicamente.it).

Once per week we selected few images from the ones upload by users, or sometime the staff do a review on a select photo.

These photos then go in two separate album ("scelte dalla staff" ans  "recensite"). I use keywords "selezionate" and "recensite" to do the job.
Now I would like to make appear close to the title of these selected photo, this info, using also a gif image.
What I would like to have is something:

if keywords== selezionate
then title== (gif image)+title

and something similar for recensite,
in such a way that when displaying the thumbnails and the images it is easily evident that these photos belong to selected albums,
but I do not kown where changing the code and how in my theme.php.
could someone help me?
thanks a lot
elena

Title: Re: add info on keywords next to title
Post by: EC on November 29, 2008, 12:01:17 PM
I've found almost a solution, but I don't know how obtain the info on the keywords for the pic in the function
function theme_display_thumbnails

It seems that CURRENT_PIC_DAT['keywords'] does not work.

Does someone have a hint?
thanks
elena
Title: Re: add info on keywords next to title
Post by: EC on November 29, 2008, 10:35:31 PM
I did the job using the info on the $thum['aid']  instead of keywords.So it can be considered solved