Advanced search  

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

Pages: [1]   Go Down

Author Topic: filmstrip beside image  (Read 4372 times)

0 Members and 1 Guest are viewing this topic.

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
filmstrip beside image
« 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
« Last Edit: December 08, 2007, 10:10:24 am by GauGau »
Logged

Nibbler

  • Guest
Re: filmstrip beside image
« Reply #1 on: December 06, 2007, 11:39:59 am »

See how it's done in the Classic filmstrip vert theme.
Logged

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: filmstrip beside image
« Reply #2 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..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: filmstrip beside image
« Reply #3 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.
Logged

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: filmstrip beside image
« Reply #4 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?
Logged

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: filmstrip beside image
« Reply #5 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;
Logged

Nibbler

  • Guest
Re: filmstrip beside image
« Reply #6 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.
Logged

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: filmstrip beside image
« Reply #7 on: December 08, 2007, 09:28:11 am »

yes thx...you're the king ;)  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.