Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: add info on keywords next to title  (Read 2181 times)

0 Members and 1 Guest are viewing this topic.

EC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Fotonicamente
add info on keywords next to title
« 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

Logged

EC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Fotonicamente
Re: add info on keywords next to title
« Reply #1 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
Logged

EC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Fotonicamente
Re: add info on keywords next to title
« Reply #2 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

Logged
Pages: [1]   Go Up
 

Page created in 0.063 seconds with 20 queries.