add info on keywords next to title add info on keywords next to title
 

News:

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.
[more]

Main Menu

add info on keywords next to title

Started by EC, November 23, 2008, 05:34:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EC

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


EC

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

EC

I did the job using the info on the $thum['aid']  instead of keywords.So it can be considered solved