display image layout query display image layout query
 

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

Main Menu

display image layout query

Started by superdave, April 01, 2007, 01:57:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

superdave

i have started running my own coppermine gallery ... and i love it!!! thanks for the hard work everyone!

however, i have a niggling problem that i just can't fix.

firstly, here's my gallery:

http://www.super-dave.com/cpgallery/index.php

and here's a sample display image:

http://www.super-dave.com/cpgallery/displayimage.php?album=23&pos=0

problem is that in the demo galleries, all the elements in the display page are justified and line up. but my elements aren't justified to the sides of the page.

does that make sense?

basically, the file name table, image table, filmstrip table, rating table, and comment table are different widths. in the demo they're all the same width.

i haven't edited the themes and i'm having the same problem with all the different themes i try.

i have a few plugins installed, but this problem was occurring before the plugins were uploaded.

any help with this?

Stramm

you've set 'Width of the table for file display (pixels or %)' to 600 but you should raise it a lil bit (to eg. 640). That's cause your intermediate images width already is 600px. Including the borders (image - table) , you try to pack a width of ~620px into a 600 px table. Same for the filmstrip. Remove some elements

superdave

hey stramm

thanks for your post. sorry i didn't get back to you faster!!

ok, i've used admin tools to rebuild my gallery and the display image page is looking better. the breadcrumb table row and the image table row are the same width.

however the file number table row, rating table row and the comment table row are all shorter.

how can i make those 3 elements full width? i looked at the code, which i mostly understand, but i don't see where i can alter the width of those particular boxes.

if i can make everything full width (the same width as the theme) i'd be happy!

thanks again

david

ps. my gallery again http://www.super-dave.com/cpgallery

Stramm

in your config check ...
Album list view - Width of the main table (pixels or %)
Image view - Width of the table for file display (pixels or %)
(I already suggested this, would have saved you the need to recreate intermedate images)

you can look that up in the docs

superdave

you're right ... i looked at that, and it didn't even occur to me!!! sorry

image width of table was 600 ... i changed it to 100% and it fixed the problem.

you're a champion! thanks.