Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Re: Display Custom Image Fields in image page  (Read 1811 times)

0 Members and 1 Guest are viewing this topic.

Adariel

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Display Custom Image Fields in image page
« on: September 30, 2012, 03:21:18 am »

Forgive me for restarting this old topic ... I did a search and didn't find anything else that was current for the same issue.

I am also using User-defined fields on my images, however I want those fields to show directly above the caption on the image page, not down in the File Information section.

So, for example, on the $template_display_media section, I would like to have something to the effect of:
Code: [Select]
<!-- BEGIN caption -->
                                <tr>
                                        <td class="tableb tableb_alternate"><h2 class="pic_caption">
{user1}<br />
{user2}<br />
{user3}<br />
{CAPTION}
                                        </h2></td>
                                </tr>
<!-- END caption -->

Now, obviously the {user1} tags won't work ... could someone tell me the correct text to use ?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Display Custom Image Fields in image page
« Reply #1 on: October 01, 2012, 08:53:43 pm »

Please post a link.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

I've split this post from http://forum.coppermine-gallery.net/index.php/topic,68465.msg339877.html , please create your own threads.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270632.html#msg270632

Do you want them to appear inline with the caption under the image title, if not how do you want them displayed?
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.