embedding multiple images in a blog post using a single div

hawesie

Joined: 2008-03-07
Posts: 1
Posted: Fri, 2008-03-07 15:50

Hi all,

I'm using the wpg2 tag to embed g2 image thumbnails in a blog post. When I select multiple images to insert they are all entered in separate <div>s containing <wpg2>s. This causes them each to appear on their own line in the post. If I edit the html code to encapsulate all the <wpg2>s in a single <div> then they are grouped together in a post, giving a much nicer (IMO) presentation of the thumbnails. My question is this: is there an option that generates this behaviour automatically? I'm looked at all the plugin options and can't see anything that looks appropriate.

thanks,

Nick

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-03-07 16:04

This can be fixed with css.
float the divs or use display: inline;
The divs are generated inside the imageblock module of G2, and there is not a option to turn this on/off.

The image chooser has a setting for this ( css ) i believe.
Post a url if you get stuck with the css.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-03-07 22:54

Dave is the man... Spot on.. You can see examples on how to do this in the wpg2.css file..

.wpg2tag-image {
display:inline;
}

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo