Problems with G2 Filter, help please!

_Ken

Joined: 2008-02-11
Posts: 12
Posted: Mon, 2008-02-11 23:23

I'm trying to insert 6 thumbnails that link to their respective galleries into a page in my Drupal installation.

I've finally been able to get that to work, however.. it seems there's some sort of line break after each of the thumbnails, and I want them all lined up in 1 row

I'm using this format in the Drupal editor:

[G2:#] [G2:#] [G2:#] [G2:#] [G2:#] [G2:#]

Any help would be appreciated

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Mon, 2008-02-11 23:51

You have to use a css float style for this. Try [G2:# class=g2image_float_left], which is available by default (see gallery.css). But you can also specify any class here that is available in your theme (or define a new one for this purpose).

 
_Ken

Joined: 2008-02-11
Posts: 12
Posted: Wed, 2008-02-13 02:06

That worked, thanks a bunch! Is there a list of which classes are available in the default? I'd really like it to be centered on the page instead of all the way to the left if possible.

I've grep'd gallery.css (modules/core/data/gallery.css) and don't see 'g2image' at all.. is there another gallery.css floating around somewhere I can find a list of which classes are available?

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Wed, 2008-02-13 09:18

Sorry for not being specific enough. There are gallery.css and gallery_filter.css in the gallery module folder for Drupal. I dont think we have a style where multiple images are on one line centered by default. Also - I'm no css expert - but I dont think it is possible without a centered wrapper div around the images!?

 
_Ken

Joined: 2008-02-11
Posts: 12
Posted: Fri, 2008-02-15 04:28

Ah, thank you. Yeah, I didn't see one listed. The problem is that without a class=[something] right now, it's what I described initially, even with a centered wrapper div around it. With the float left, it's all on one line, but a centered wrapper div doesn't override it either.

At some point I suppose I'll have to code a new class :)