coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Daddy Cool on August 17, 2005, 06:55:31 PM

Title: Add/Change the table width of the film strip
Post by: Daddy Cool on August 17, 2005, 06:55:31 PM
How can I fix the width of the film strip table??

In theme.php, there's
    if ($CONFIG['display_film_strip'] == 1) {
        echo $film_strip;
    }

tried adding   starttable('100%')  and end table around, but just put a table around a table...

Here's the problem, that's what came out of the code when "viewing" my page source and that's the coding of the film_strip table :
<!-- Start standard table -->
<table align="center" width="" cellspacing="1" cellpadding="0" class="maintable">


In the first line, the table isn't fixed (I need to do it), people at my site are requesting 20 picture in the filmstrip instead of 5. But when I do that, it resume in a 1 line of 20 picture getting out the screen (on Internet Explorer, but 4 lines of 5 pictures with Firefox ???).

The simple way, I think, is to put a value in the width.
How? where? where is the $film_strip value coded??

Thanks for any help!  ;D
Title: Re: Add/Change the table width of the film strip
Post by: Stramm on August 17, 2005, 07:02:02 PM
function theme_display_film_strip in theme.php... modify starttable
Title: Re: Add/Change the table width of the film strip
Post by: Daddy Cool on August 17, 2005, 07:15:31 PM
huuu... didn't look high anof...   Thanks a lot for the quick reply! found it, placed it, but didn't resolved the problem, the table is still going out of the window instead of returning the photo in a new line..  ???

If you have an idea on how to code this for Internet Explorer..

Thanks a lot!
Title: Re: Add/Change the table width of the film strip
Post by: Daddy Cool on August 17, 2005, 07:41:34 PM
OK, I found everything needed into theme.php .

Thanks for the enlightment!!

I just had to reorganise the table for the filmstrip, now my filmstrip can take as much pictures he wants.