coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: freesouljah on July 31, 2009, 08:41:44 PM

Title: strange table spacing on displayimage - intermediate image
Post by: freesouljah on July 31, 2009, 08:41:44 PM
hello again,

I recently added the vertical filmstrip, and since then I have been experiencing some strange occurrences regarding table spacing...sometimes the intermediate image page looks great:

(warning: there is some adult related content on these pages...)

http://www.picsandass.com/pics/displayimage.php?pos=-9249

and other times it looks all out of whack:

http://www.picsandass.com/pics/displayimage.php?pos=-2439


maybe somebody can lead me in the right direction as to why this is taking place....so far I haven't the slightest idea of what is going on to cause it to happen...

peace
Title: Re: strange table spacing on displayimage - intermediate image
Post by: freesouljah on July 31, 2009, 10:56:18 PM
okay...I just noticed that this only occurs in firefox....

but in IE it loads as an error...it says line 1744 and it states that there is an unexpected ")"...

on that line is:

<td class="tableb"><center><b>


it is part of this:

<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb"><center><b>
                                                {TITLE}
                                        </b></center></td>
                                </tr>
<!-- END title -->
Title: Re: strange table spacing on displayimage - intermediate image
Post by: freesouljah on August 03, 2009, 03:17:14 PM
hmmmm....

okay, I think I have narrowed down the problem:

the screwed up layout happens when there is not a title set for the image...

ex:
http://www.picsandass.com/pics/displayimage.php?pos=-2909


but when a title is set, then no problems:

ex:
http://www.picsandass.com/pics/displayimage.php?pos=-9903



so I am thinking the layout problem arises from how {TITLE} is defined

any ideas?
Title: Re: strange table spacing on displayimage - intermediate image
Post by: freesouljah on September 22, 2009, 08:01:23 PM
for people having similar problems, I fixed the issue by removing the tables and rows that the {TITLE} and {CAPTION} were in...now all is sitting pretty!

8)

peace