Left-Justify Thumbnail Description/Comment Text? Left-Justify Thumbnail Description/Comment Text?
 

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]

Main Menu

Left-Justify Thumbnail Description/Comment Text?

Started by qvdepot, October 01, 2004, 01:02:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

qvdepot

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

Casper

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
HTML template for thumbnails display
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

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


chowdhury

move to the tag described in the previous post (search using ctrl+F) and change align="left" in the following code:

<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>

Joachim Müller

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.