forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: freesouljah 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)
-
It works ok in classic, so must be something in your custom theme.
-
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)
-
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'> </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>
<span class="thumb_title">Chris Cornell - Audioslave – 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>
<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>
<span class="thumb_title">Chris Cornell – 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'> </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'> </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>
<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>
<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>
</td>
</tr>
<tr>
<td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'> </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
-
: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) (http://forum.coppermine-gallery.net/index.php?topic=5832.0)....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
-
Well, we all have our moments. To redeem ourselves, we let others know how to avoid those moments. ;) Thank you for sharing the solution.
-
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...