filmstrip beside image filmstrip beside image
 

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

Main Menu

filmstrip beside image

Started by DaBe, December 06, 2007, 11:07:01 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

DaBe

hello

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

pls help..

thx

Nibbler


DaBe

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

Joachim Müller

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.

DaBe

yes its right. BUT
I want display the filmstrip so:

IMAGEFILMSTRIP

but at the moment ist there so:
FILMSTRIPIMAGE

Can me everyone help?

DaBe

My code is:






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

Nibbler

That's not relevant. The code is here:


    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.

DaBe