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: Changing the Film Strip settings  (Read 3380 times)

0 Members and 1 Guest are viewing this topic.

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Changing the Film Strip settings
« on: April 28, 2005, 06:40:10 pm »

Hi,

When I upgraded my cpg the other day, I noticed that the filmstrip went from showing the thumbnails horizontally to vertically.

I searched the boards, but couldn't find the solution or even a spot where I could change the column or row settings of the film strip.

for an example of the current settings you can go to http://www.staticfiends.com/photos/displayimage.php?p=115

Any ideas?


Thanks  8)
« Last Edit: May 01, 2005, 08:39:39 am by GauGau »
Logged

Nibbler

  • Guest
Re: Changing the Film Strip settings
« Reply #1 on: April 28, 2005, 06:48:55 pm »

It works ok in classic, so must be something in your custom theme.
Logged

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: Changing the Film Strip settings
« Reply #2 on: April 29, 2005, 12:06:57 am »

thanks for your response  :)

do you know what code I can play around with to get it back to horizontal?  the theme I am using is a tweaked eyeball...for reference...



thanks again  8)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing the Film Strip settings
« Reply #3 on: April 29, 2005, 07:24:18 am »

Your theme is too narrow (or the sidebars both on the left and right are too wide). This is the relevant output
your theme:
Code: [Select]
<!-- Start standard table -->
<table align="center" width="" cellspacing="0" cellpadding="0" class="maintable">

        <tr>

         <td valign="top" background='themes/eyeball/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>
        <tr>
        <td valign="bottom" class="thumbnails" align="center">
         
                                        <a href="displayimage.php?p=117"><img src="albums/audioslave/thumb_audioslave3.jpg" class="image"  height="125" border="0" alt="audioslave3.jpg" title="Filename : audioslave3.jpg
Filesize : 30KB
Dimensions : 550x413
Date added : Apr 20, 2005"></a>&nbsp;
                                        <span class="thumb_title">Chris Cornell - Audioslave&nbsp;&ndash;&nbsp;73 views</span><span class="thumb_title"><a href ="profile.php?uid=7005">Staticfiends.com</a></span>
                                       

                                        <a href="displayimage.php?p=116"><img src="albums/audioslave/thumb_audioslave2.jpg" class="image"  height="125" border="0" alt="audioslave2.jpg" title="Filename : audioslave2.jpg
Filesize : 125KB
Dimensions : 550x733
Date added : Apr 20, 2005"></a>&nbsp;

                                        <span class="thumb_title">46 views</span><span class="thumb_title"><a href ="profile.php?uid=7005">Staticfiends.com</a></span>
                                       

                                        <a href="displayimage.php?p=115"><img src="albums/audioslave/thumb_audioslave.jpg" class="image"  height="125" border="0" alt="audioslave.jpg" title="Filename : audioslave.jpg
Filesize : 95KB
Dimensions : 550x733
Date added : Apr 20, 2005"></a>&nbsp;
                                        <span class="thumb_title">Chris Cornell&nbsp;&ndash;&nbsp;62 views</span><span class="thumb_title"><a href ="profile.php?uid=7005">Staticfiends.com</a></span>
                                       

        </td>
        </tr>
        <tr>

         <td valign="top" background='themes/eyeball/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>


</table>
<!-- End standard table -->

classic theme:
Code: [Select]
<!-- Start standard table -->
<table align="center" width="" cellspacing="1" cellpadding="0" class="maintable">

        <tr>
         <td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>
        <tr>
        <td valign="bottom" class="thumbnails" align="center">

         
                                        <a href="displayimage.php?album=20&pos=16"><img src="albums/audioslave/thumb_audioslave3.jpg" class="image"  height="125" border="0" alt="audioslave3.jpg" title="Filename : audioslave3.jpg
Filesize : 30KB
Dimensions : 550x413
Date added : Apr 20, 2005"></a>&nbsp;
                                       
                                       

                                        <a href="displayimage.php?album=20&pos=17"><img src="albums/audioslave/thumb_audioslave2.jpg" class="image"  height="125" border="0" alt="audioslave2.jpg" title="Filename : audioslave2.jpg
Filesize : 125KB
Dimensions : 550x733
Date added : Apr 20, 2005"></a>&nbsp;
                                       
                                       

                                        <a href="displayimage.php?album=20&pos=18"><img src="albums/audioslave/thumb_audioslave.jpg" class="image"  height="125" border="0" alt="audioslave.jpg" title="Filename : audioslave.jpg
Filesize : 95KB
Dimensions : 550x733
Date added : Apr 20, 2005"></a>&nbsp;
                                       
                                       

        </td>
        </tr>
        <tr>
         <td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>

</table>
<!-- End standard table -->
The difference is obvious: in your custom theme, there's an additional <span> section. I guess you will have to wrap the whole enchilada in a <div> block with css attributes that tell the browser to align the content horizontally.

Joachim
Logged

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: Changing the Film Strip settings
« Reply #4 on: May 01, 2005, 08:38:10 am »

 :o

I feel like such a putz....lol

after trying to do your prescribed fix, and failing a few times...I decided to just re-modify a fresh copy of the eyeball theme.php...and that is when I figured out what was causing the problem.  It turned out to be the Stable URL's to the images (to please search engines)....so it actually had nothing to do with the update  ::)

I just copied and pasted the same code that was supposed to be in the "theme_display_thumbnails" function -- into the  "theme_display_film_strip" function....so the
Code: [Select]
'{CAPTION}' => $thumb['caption'], instead of
Code: [Select]
'{CAPTION}' => '', was adding that extra span...


thanks for all your help...even though I shouldn't have needed it  :D

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Changing the Film Strip settings
« Reply #5 on: May 01, 2005, 08:43:34 am »

Well, we all have our moments. To redeem ourselves, we let others know how to avoid those moments. ;) Thank you for sharing the solution.
Logged

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: Changing the Film Strip settings
« Reply #6 on: May 02, 2005, 08:13:28 pm »

no problemo...

I seem to have quite a few "moments"...they do help me learn  8) usually by showing me that I don't know everything...
« Last Edit: May 02, 2005, 08:22:30 pm by freesouljah »
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 20 queries.