Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[plugin] [ORPHAN] cno_gallery
I have made some major improvement (I think) to my old plugin.
Download cno_gallery.txt
Version: 0.3
Enjoy
/Christian
——
<h1>cno_gallery</h1>
<p>This plugin generates an image gallery with next and previous buttons
either using each half of the image as forward and backwards buttons
and or buttons/text links below the image.</p>
<p><strong>Example gallery : <a href=“http://cnolle.com/project/portraits/”>Portraits</a></strong></p>
<p>Usage:
<code><txp:cno_gallery category=”“ use_caption=”“ use_imagenav=”“ use_counter=”“ /></code>
</p>
<h2>Options</h2>
<p><strong>category=""</strong></p>
<p>Name of image category. No spaces please. </p>
<p><strong>sort=”“</strong></p>
<p><i>ASC (Ascending) or DESC (Decending)</i></p>
<p><strong>use_counter=”“</strong></p>
<p><i>1 = yes 0 = no</i></p>
<p><strong>use_imagenav=”“</strong></p>
<p><i>1 = yes 0 = no</i></p>
<p><strong>use_caption=”“</strong></p>
<p><i>1 = yes 0 = no</i></p>
<h2>Example:</h2>
<p><code><txp:cno_gallery category=“imagecategory” sort=“ASC” use_counter=“1” use_caption=“1” /></code></p>
<h2>Admin options</h2>
<p>You can configure the plugin further under the EXTENSIONS tab where you can type in
the image name you will be using for the back and forward button and type in the label for
back and forth as well, plus the image width and height. This is important as the CSS
generated for each image will be different.</p>
<h2>Update(s)</h2>
3.1: It now validates.
Last edited by cnolle (2006-06-19 19:07:55)
Offline
Re: [plugin] [ORPHAN] cno_gallery
Look nice. What about inline style for images in order to validate?
Bye
Z-
Offline
#3 2006-06-19 17:02:39
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] cno_gallery
Thanks for the update, I really like his plugin.
Offline
Re: [plugin] [ORPHAN] cno_gallery
Of course inline. Thanks. Plugin updated and it now validates, download link remains the same.
Offline
#5 2006-06-20 12:46:36
- curiouz
- Member

- Registered: 2006-06-20
- Posts: 56
Re: [plugin] [ORPHAN] cno_gallery
Thanks for this plugin! it works great!
One question though: how do I set the properties so the forward and backwards buttons are below the image?
Offline
Re: [plugin] [ORPHAN] cno_gallery
There is an option called use_imgnav which I have completely forgotten to include in my help section. Just add use_imgnav=“1” and it should generate links under the image.
I just realised that some of the options can cause some confusion. use_imgnav and use_imagenav. I will revise this, this weekend. No good with these unclear options. Sorry for the trouble.
Last edited by cnolle (2006-06-21 22:18:00)
Offline
Pages: 1