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: Title and Info under Image  (Read 3351 times)

0 Members and 1 Guest are viewing this topic.

yakand

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Title and Info under Image
« on: May 11, 2006, 03:16:46 pm »

What do I have to adjust to have Title and Image Info right under the Image, and not to have the gap between the image and the first line (Title)?

Also, can the Image info text be justified, instead of having it centered?

I am using the CPG_145.
« Last Edit: May 12, 2006, 07:11:25 am by Paver »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Title and Info under Image
« Reply #1 on: May 11, 2006, 07:10:08 pm »

I am using the CPG_145.
Then why are you posting on the board that is named "cpg1.3 Miscellaneous" ::)? Moving accordingly.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Title and Info under Image
« Reply #2 on: May 11, 2006, 07:16:00 pm »

This is a theme question and so you need to find the appropriate template variable and customize as you like.  All the template variables and theme functions you can customize are located in the sample theme under sample/theme.php.

As a general method, use "View Source" on your gallery webpage and look at the HTML you want to change.  Look for unique text or tags and search for this in sample/theme.php.  Then copy that variable to your theme (don't modify the sample theme directly or any other core theme, for your own sanity) and modify as desired.

Please try this and then ask specific questions as you run across them.  A link to your site's page may be useful as well.
Logged

yakand

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Title and Info under Image
« Reply #3 on: May 12, 2006, 07:09:24 am »

Sorry, I had a feeling that I posted to cpg1.4.x forum.

I solved the porblem by changing values in theme.php. Now looks o.k.

Thank you for your advice.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.