Print Story Free art gallery software
Software
By spacejack (Sat Jul 22, 2006 at 07:11:59 PM EST) Parkdale, XML (all tags)
for your webserver. I thought I'd post it in case anyone else might find it useful. And another from Parkdale.


The latest from Parkdale, at King & Dufferin:


And because I thought MissTrish may find it useful in her aspirations to geekness...

If you've ever visited my site's gallery section, you'll notice it's using some kind of script to build the pages in each exhibit. It's something I wrote a long time ago that's gradually evolved from Perl to PHP, and from text files to XML data files.

Layout-wise, it's not all that modern, still using tables rather than CSS. I still like tables for centred vertical alignment. But some not-too-difficult modifications could change that. The actual HTML I used is pretty minimalist, so there's not a whole lot to change.

There's no "admin" interface to speak of. You edit XML files in a text editor, upload files by FTP, the script merely lets you browse the images using some HTML templates. It's just meant to cut out redundant work.

Anyway, if anyone thinks it'd be useful, either to use, modify or look at, you can get it here. The download includes the demo gallery shown.

One caveat: because thumbnails are placed vertically, once there are enough to scroll off the bottom of the page, browsing becomes a little inconvenient (see how it's starting to happen with my Parkdale Sketches.)

The vertical centering of the image also gets too stretched. I've solved this so far by limiting the number of items in a gallery, but eventually I might fix it to break the thumbs into more columns.

Any other ideas on how to handle more thumbs? (Besides the obvious paging forward/back 5 or 10 or whatever at a time.) I also don't want to put them in horizontal rows across the top/bottom of the page, because on most monitors, vertical space is at a premium, while you tend to have extra space in the horizontal. I suspect adding more columns at the side of the page is the best option here.

< This isn't art, this is a documentary | BBC White season: 'Rivers of Blood' >
Free art gallery software | 7 comments (7 topical, 0 hidden) | Trackback
Ah so by MissTrish (4.00 / 1) #1 Sat Jul 22, 2006 at 09:12:38 PM EST
Thank you, wise master. I've been looking for some examples of how to actually apply xml without resorting to microsoft ass-hattery.



Isn't Dufferin by yicky yacky (4.00 / 2) #2 Sat Jul 22, 2006 at 09:32:12 PM EST

from the Harry Potter books?


----
A cynical, mercenary, demagogic, corrupt press will produce in time a people as base as itself - Joseph Pulitzer


I wouldn't know, but by spacejack (4.00 / 1) #4 Sat Jul 22, 2006 at 09:52:14 PM EST
the street is apparently named after some old Governor General of Canada.

[ Parent ]

Deal with too many pics... by edward (4.00 / 1) #3 Sat Jul 22, 2006 at 09:36:02 PM EST
use your JavaScript/DHTML/AJAX-fu to size the thumbnails automatically depending on the number of photos per gallery page. The more photos you set per page, the smaller the thumbnails are.



hmm, interesting by spacejack (2.00 / 0) #5 Sat Jul 22, 2006 at 09:53:44 PM EST
Not a bad idea. Does javascript scale images smoothly? I guess it might not matter for thumbnails.

[ Parent ]

Honestly by edward (2.00 / 0) #7 Sat Jul 22, 2006 at 10:11:45 PM EST
you don't even have to do it yourself-- just use one of the many libraries out there-- scripttaculous and dojo are good places to start.

[ Parent ]

actually by spacejack (2.00 / 0) #6 Sat Jul 22, 2006 at 09:55:38 PM EST
could easily do it in the img tag. I wonder if one way works better than the other.

[ Parent ]

Free art gallery software | 7 comments (7 topical, 0 hidden) | Trackback