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: Custom description  (Read 2108 times)

0 Members and 1 Guest are viewing this topic.

Shanj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Custom description
« on: January 02, 2008, 06:24:31 pm »

I want a short one line description on the thumbnail,
with a link to the other page with larger pic and longer description.

I have discovered that my second description (custom field) only shows up if I enable the Info area.
But I dont want all that extra stuff about the file. I just want a second longer description to show up when you open the larger picture.

I looked at the displayimage.php template
I can see some of the stuff that generates the info area data.
Was thinking of commenting it out
but I cant see what to leave alone so my custom description box still shows up.

The custom description box cuts off text and I cant see how to make it bigger. You can enlarge the first description box but then it distorts the thumbnail display page with long thin columns of text. Sigh.

Any ideas please?

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Custom description
« Reply #1 on: January 02, 2008, 06:33:10 pm »

Don't edit displayimage.php, but themes/yourtheme/theme.php
Posting a link to your gallery might help if you need details.
Also zip up your custom theme and attach it to your posting (using "additional options" when composing your message).
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.