Trouble with multiple columns in 'images <div>'

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
MadDoctor
Posts: 18
Joined: Tue 25. Jul 2006, 00:46
Contact:

Trouble with multiple columns in 'images <div>'

Post by MadDoctor »

Hello,

I'm using the new images <div> content part and the multiple columns do not seem to be working for me.

I have it set to two columns, max image height: 140px, max width: 500px, image space: 3px. click enlarge, lightbox, hide caption for thumbnails are all checked.
Link: http://www.umassseaa.org/index.php?id=12,21,0,0,1,0

Any ideas?

Thanks, Dima
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Dima,

please don´t set it to max width 500px. The system can´t generate two columns with a width of 2 x 500px + 3px = 1003px.
Your #content shows me a width of max 760px - #navigation (163px)

Second, have you expand this entry in config.inc.php?
$phpwcms['content_width'] = 538; //max width of the article content column - important for rendering multi column images
[EDIT] In 1.3.2.1 this setting insn´t in use.[/EDIT]

Is this template created by yourself?

Knut
Last edited by flip-flop on Tue 1. May 2007, 07:56, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

don't use such anomalous image proportions. I guess you want to have 140x140 or 200x200. Try this first.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Post by update »

There is the possibility to choose a template for displaying the new div image feature. The given default is rendering your pics as it is shown with your page not using your 1 2 3 ... 10 column choice. Just choose the other template... and everything will look really coool
claus
Post Reply