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: Left-Justify Thumbnail Description/Comment Text?  (Read 10790 times)

0 Members and 1 Guest are viewing this topic.

qvdepot

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Left-Justify Thumbnail Description/Comment Text?
« on: October 01, 2004, 01:02:12 am »

Greetings,

I'm seeking help/advice on how to align the comment/description text to the left, rather than the default "centered" setting. Examples below.

The first graphic displays the default seetings. The second graphic (edited for display here) shows the text aligned to the left. Please explain where I may find the code to modify this issue.

Thank you,

QV
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Left-Justify Thumbnail Description/Comment Text?
« Reply #1 on: October 01, 2004, 01:49:53 am »

You have already modified your gallery, as this is not a usual view of  a thumbnail.
But what you want is in the theme.php.  Look for
Code: [Select]
HTML template for thumbnails display
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

qvdepot

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Left-Justify Thumbnail Description/Comment Text?
« Reply #2 on: October 01, 2004, 11:09:54 am »

Thank you for your prompt response.

No, I hadn't modified the code at the time. The example image you see was edited in paint to show what I was looking to accomplish. I have since edited the code and removed the *center* tag, but that removes ALL centering within the TD cell. I'm interested in keeping the thumbnail and title centered, but aligning the description text to the left.

Is this possible? Please detail if so.

Thanks again!
QV

Logged

chowdhury

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Left-Justify Thumbnail Description/Comment Text?
« Reply #3 on: February 06, 2009, 11:28:38 pm »

move to the tag described in the previous post (search using ctrl+F) and change align="left" in the following code:
Code: [Select]
<td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
                <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center">
                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
                                        <p align="left">{CAPTION}</p>
                                        {ADMIN_MENU}
                                </td>
                        </tr>
                </table>
        </td>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Left-Justify Thumbnail Description/Comment Text?
« Reply #4 on: February 11, 2009, 09:54:52 am »

This thread is outdated. In fact, the entire sub-board is outdated. You're not suppossed to post here, as it only exists for reference. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.