Changing the Film Strip settings Changing the Film Strip settings
 

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

Changing the Film Strip settings

Started by freesouljah, April 28, 2005, 06:40:10 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

freesouljah

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)

Nibbler

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

freesouljah

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

Your theme is too narrow (or the sidebars both on the left and right are too wide). This is the relevant output
your theme:<!-- 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:<!-- 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

freesouljah

 :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 '{CAPTION}' => $thumb['caption'], instead of '{CAPTION}' => '', was adding that extra span...


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

Tranz

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

freesouljah

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