Gallery - I want it table free!

Arbinshire

Joined: 2002-09-11
Posts: 1
Posted: Wed, 2002-09-11 05:01

After playing with the code, and finally giving up to the numerous files, hard to read source, difficult time finding what I needed I decided to logon here. I like gallery, the basic engine behind it is stellar. The HTML is, well.. garbage.

What I would like is :

1. Individual Page Templates
2. One CSS file, or the ability to merge the gallery into a pre-existing page without it breaking everything.
3. Perhaps a table free design. The over usage of TD/TR/TABLE is rather frustrating

-= Eric

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Wed, 2002-09-11 08:28

I believe G2 will be fully templated from what I've been hearing.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-11 09:11

You don't want it table free. There'd be no control over the layout.

What you want is a system which provides:
* one overall template that you can use to integrate Gallery into your site
* templates for each page to let you personalize the product
* multiple layouts and themes that you can choose on a per-album basis
* XHTML compliance

All of this is coming in G2. In fact, all of the above (except for full XHTML compliance) is already in place, in CVS.

 
Caffeinated

Joined: 2002-07-25
Posts: 1
Posted: Sun, 2002-09-22 02:13
Quote:
You don't want it table free. There'd be no control over the layout.

you can control the layout without tables by floating your image elements.

the problem I have with a table based layout is that it's static - no matter how wide you stretch your browser window, you will only see 3 images in each row.

using a css controlled layout, your images will "reflow" to fill the available width of the browser.

will the G2 template engine allow us to replace the default table layout with a table-free layout if we wish?

 
mhjb
mhjb's picture

Joined: 2002-09-02
Posts: 4
Posted: Sun, 2002-09-22 23:16

a la <!-- BBCode Start --><A HREF="http://www.alistapart.com/stories/practicalcss/" TARGET="_blank">ALA</A><!-- BBCode End -->. ha!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-24 09:10
Quote:
will the G2 template engine allow us to replace the default table layout with a table-free layout if we wish?

You guys are way ahead of me on this front. I don't know as much about CSS as I need to. The good news is that Gallery's layout and theme API will let you create a new layout that doesn't use tables so that you can get this effect, without changing any core code. (whew!)

 
mhjb
mhjb's picture

Joined: 2002-09-02
Posts: 4
Posted: Tue, 2002-09-24 09:57

That's pretty cool Bharat. Incidentally, if you need any help with any CSS-related stuff i'm available.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-25 03:55

Once I settle down the theme API, I think it'll be a good time for people to start messing around with creating new themes and layouts. If you're interested, I'd love to see a totally CSS driven theme that is table-free.