forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: DaBe on December 06, 2007, 11:07:01 am

Title: filmstrip beside image
Post by: DaBe on December 06, 2007, 11:07:01 am
hello

How I can display the filmstrip beside the image on the right side?

pls help..

thx
Title: Re: filmstrip beside image
Post by: Nibbler on December 06, 2007, 11:39:59 am
See how it's done in the Classic filmstrip vert (http://downloads.sourceforge.net/coppermine/cpg1.4.x_theme_classic_filmstrip_vert.zip) theme.
Title: Re: filmstrip beside image
Post by: DaBe on December 06, 2007, 12:29:14 pm
thx..but I want the filmstrip on the right side..but in this theme is the strip on left side.

how I can make that?

I try with html, but not worked..
Title: Re: filmstrip beside image
Post by: Joachim Müller on December 06, 2007, 04:14:59 pm
Take a look at the custom theme that Nibbler refered to. To do so, download that theme from the download section, extract it and then use a plain text editor and compare theme.php of that downloaded theme with your copy.
Title: Re: filmstrip beside image
Post by: DaBe on December 07, 2007, 09:59:00 pm
yes its right. BUT
I want display the filmstrip so:

IMAGEFILMSTRIP

but at the moment ist there so:
FILMSTRIPIMAGE

Can me everyone help?
Title: Re: filmstrip beside image
Post by: DaBe on December 07, 2007, 10:00:02 pm
My code is:

Code: [Select]




// HTML template for filmstrip display
$template_film_strip = <<<EOT
<tr><td>
<table width="220"  valign="top" cellspacing="0" cellpadding="0">
<tr>

<td>
          {THUMB_STRIP}
</td>

        </tr>
</table>
</td>

<!-- BEGIN thumb_cell -->
<div style="float:left;">
<a href="{LINK_TGT}">{THUMB}</a>
</div>
{CAPTION}
{ADMIN_MENU}
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
           
<!-- END empty_cell -->

EOT;


// HTML template for intermediate image display - HS: valign
$template_display_media = <<<EOT
                <td align="center" valign="top" class="display_media" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" class="imageborder">
                               <tr>
                                        <td align="center">
                                                {IMAGE}
                                                {ADMIN_MENU}
                                        </td>
                               </tr>
                        </table>
<!-- BEGIN img_desc -->
                        <table cellpadding="0" cellspacing="0" class="tableb">
<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb"><center><b>
                                                {TITLE}
                                        </b></center></td>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->
                                <tr>
                                        <td class="tableb"><center>
                                                {CAPTION}
                                        </center></td>
                                </tr>
<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
EOT;
Title: Re: filmstrip beside image
Post by: Nibbler on December 07, 2007, 10:16:23 pm
That's not relevant. The code is here:

Code: [Select]
    starttable();

    if ($CONFIG['display_film_strip'] == 1) {

echo "<tr><td width='200' class='tableb' valign='middle' ><!-- gb before film_strip -->";

        echo $film_strip;

echo "</td><!-- gb after film_strip -->";

    }

echo "<!-- gb before picture -->";

    echo $picture;

    echo "</tr><!-- gb after picture -->";

    endtable();

You need to rearrange that table.
Title: Re: filmstrip beside image
Post by: DaBe on December 08, 2007, 09:28:11 am
yes thx...you're the king ;)  ;D