Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 1 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

jmr_gallery

This plugin creates a simple image gallery with optional association to specific article.

Usage
There are two ways to use this:
1) <txp:jmr_gallery category="some_category"/>
This will simply pull in all the images files in “some_category”.

2) <txp:jmr_gallery />
If you do not supply a category, the plugin takes the current article number and attaches “article-” in front of it and uses that as the category. Thus, if you are looking at article 16 the plugin grabs the images from the image category “article-16”. Please name your article categories accordingly. This how I use the plugin. It enables me to slap the plugin tag into my generic article form and forget about it. I simply made a whole bunch of image categories named “article-1”, “article-2”, “article-3”, etc. and make sure I upload the proper pictures to the right category and bingo presto, an article-associated image gallery.

Example
http://www.jmrhoades.com

Acknowledgments
This is really an all-in-one distillation of Max Ziebell’s Textpattern Gallery sans the nasty javascript and cnolle’s cno_image_nav

Disclaimer
Hey, I don’t really do php, so the code ain’t sexy, but it works for me. Use at your own risk.

Article Request Count:

Archived [?]: orphaned: download link broken

Initially released:
2004-09-27
Posted here:
23 Mar 2005
Article modified:
21 Apr 2009

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (2)

Do I have to download the plugin or just use the txp tags??
I haven’t fiddled with TextPattern plugins before.. please help!

thanks.
there was a typo in this article that hid the remainder, including the download link. solved now. :)

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern