Categories:
Author:
Current version:
0.3
About It:
Get it:
Rate it:
Flag it:
directory_gallery
- creates a JS-based gallery of all picture files found in a specified directory, with preloading and graceful degradation.
- needs only 1 parameter: the directory containing the pics
- Sort order is generated from the filenames.
Caution: no extended sanity checking on filenames - Image descriptions are generated from the filenames
- numerical selection list, definable via CSS class “gallery”
Tested with 4.0.4. and PHP5 only
Demo: link
Based on “Textpattern Gallery 1.21” by Max Ziebell and Jeremy Keith. Licensed under Creative Commons Attribution 2.5. Please drop me a note if you use this plugin on your site (just curious).
Feedback is appreciated. You may find some inelegant code since I’m no web developer but a C and assembler guy.
Update Nov 7: Version 0.3
– Includes the bugfix by Christophe Beyls.
– trailing slash bug fixed, e.g. “www.mydomain/gallery/” works
– image sorting by trailing numbers didn´t work properly
– extended error codes
Note: not yet thoroughly tested
Archived [?]: orphaned
Initially released:
2006-09-11Posted here:
17 Sep 2006Article modified:
20 Jan 2008









If there is a comment form at the Information URL, you may want to leave your comments/questions there for quicker feedback. Otherwise, comment away:
Commented (10)
Cheers, Lee
I´ve no inclination to support PHP4, though.
Got a pic in the direction: http://modul101.com/img/gall1/
called 01A-test.jpg
Can someone help me, please?
http://forum.textpattern.com/viewtopic.php?pid=127982#p127982
Finally here´s the update to 0.3, thanks Christophe. Couldn´t make it sooner since I was in hospital most of the time. I didn´t test it thoroughly, but it seems to work fine.
<br />
Have fun!
Lu
I want my website editors to define the directory for the images. Naturally I want to use a custom field for it, but it’s not really working.
I have this in my form template:
**
The custom field has the value of a directory with correct named images in.
What’s wrong? Any one?
the download site is down
does anyone have this plugin because the site is currently down
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.
Would you care to write a comment?