News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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