Content last modified Monday 3 September 2018
hop to #bottom
Categories:
Author:
Current version:
0.23
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 3 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!

cno_image_nav

Displays Next and Previous buttons for use in image slideshows, either with text links or with thumbnails, and display series of photographs organised according to category.

Thanks to kind help of Zem and Nimnix the following little plugin is now available for download.

It will be expanded with the ability to display how many photographs are in the series (i.e. 1 of x) and possibly show a thumbnail of the next image and the previous (instead of the back and next text link). Other areas of expansion will hopefully include the ability to run the next and previous system as a loop, so when you reach the end of a series you are automatically taken back to the beginning.

It also includes a little function (a modified version of <txp:image_display />) to embed the image into CSS as background image use.

See here for a live example.

This plugin offers the following new tags:

  • cno_img_next
  • cno_img_prev
  • cno_imgnext
  • cno_imgprev
  • cno_image_

Plugins that enables a user to display series of photographs organised according to category.

In version 0.23 the category is no longer part of the tag argument, but takes it directly from the URL, enabling the same page to display more than one series of pictures.

Url example:
http://www.mywebsite.com/photos/?c=monkeys&p=34
and
http://www.mywebsite.com/photos/?c=onice&p=67

The package contains the following tags:
<txp:cno_img_next thumb="1" /> creates a link to the next image using the thumbnail of the next image.
You can turn off the thumbnail use by leaving the thumb argument out.
<txp:cno_img_prev thumb="1" /> The same as above with the previous image.

A wrapper version of the above is also available:
<txp:cno_imgnext> Next </txp:cno_imgnext>
and
<txp:cno_imgprev> Previous </txp:cno_imgprev>

Article Request Count:

Archived [?]: orphaned: broken links

Initially released:
2004-07-24
Posted here:
23 Mar 2005

You know you want to visit the Archives.
Published with Textpattern