reposition file description part 2: align image to top? reposition file description part 2: align image to top?
 

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

reposition file description part 2: align image to top?

Started by ringo, June 18, 2006, 08:07:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ringo

Hey guys, if you look here and click on the thumbs of faces you can see your handy work in action...
http://www.jukesmusic.com/agency/men.html
What I would like to do and can't seem to figure out how to is keep the image on the left at the top of its cell instead of centered. I'd like it to align top because the different lengths of text in the description box to the right cause the image to the left to float to the middle of it. Tried changing everything I can, don't know what to look for I guess. Help appreciated, thanks. 

Sami

check this out:

// HTML template for intermediate image display
$template_display_media = <<<EOT
        <tr>
                <td align="center" class="display_media" valign="top">
                        <table cellspacing="2px" cellpadding="0px" class="imageborder" width="100%">
                                <tr>
                                        <td align="left" valign="top" width="50%">
                                        <br />
                                                {IMAGE}
                                        </td>
                                        <td align="left" width="50%">
                                        <br />
                                                {CAPTION}
                                        </td>
                                </tr>
                        </table>
                </td></tr>
                <tr><td>
                                                <table width="100%" cellspacing="2px" cellpadding="0px" class="tableb">
                                <tr>
                                        <td align="center">

                                                {ADMIN_MENU}
                                        </td>
                                </tr>
                        </table>





<!-- BEGIN img_desc -->
                        <table cellpadding="0px" cellspacing="0px" class="tableb" width="100%">
<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb"><center><b>
                                                {TITLE}
                                        </b></center></td>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->

<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
        </tr>

EOT;
‍I don't answer to PM with support question
Please post your issue to related board

ringo

Hey thanks bmossavari...
that worked great. I had to adjust to get the title back to the top of the text but other than that, perfect!
Much appreciation for your help.

Sami

you'r welcome
have fun with your gallery ;)
issue solved
‍I don't answer to PM with support question
Please post your issue to related board