PPEndLoop
November 26th, 2008 by Erik J. Barzeski
PPEndLoop
PPEndLoop exists because I liked the functionality of the ImageCycle addon, but I didn't want to truly "cycle" my images when I reached the beginning and end. With ImageCycle, when a visitor to your PixelPost photoblog reaches the first or last image, the "Next" or "Previous" link will wrap around to the other side, potentially confusing people.
PPEndLoop, built on ImageCycle for my photoblog, puts an end to the "wrapping" behavior. Originally developed just for me, someone else wanted it, so here it is.
PPEndLoop will correctly provide a "Next" and "Previous" link when available, and when not, will provide the unlinked text. It can also provide a thumbnail, the image name, and the URL - for both next and previous images when available - and degrades gracefully when not by providing nothing (literally no text: "") or the default text (like "Next" or "No Previous Image") for each situation.
Official Addon Page
Official Plugin Page at PixelPost.org
Download
This addon has no warranty. That being said, I've been using it without problems.
Installation and Use
- Download (and unzip if necessary) the file you'd like.
- Name the file "ppendloop.php" and upload the file to your
/addons
folder. - Activate the addon.
- Enjoy!
Changelog
1.0 (September 9, 2008)
- Initial release (on my own blog)
1.0.1 (November 26, 2008)
- Released on http://nslog.com/plugins/
- Changed the name from "Erik's Image Ender" to "PPEndLoop"
1.1 (November 26, 2008)
- Added functionality for next and previous title, thumbnail, and URL.
Posted 28 Nov 2008 at 12:20pm #
You should post your addon on the Pixelpost Extend site. That way more people will be able to find and use your handy little addon.
Posted 28 Nov 2008 at 4:01pm #
[quote comment="51062"]You should post your addon on the Pixelpost Extend site. That way more people will be able to find and use your handy little addon.[/quote]
I wanted to check on the license first. Your comment prompted me to, so I've put it up (without a license, currently) because the original doesn't seem to have one either. If anyone ever discovers a license attached to the original file, please let me know. I'm operating under the assumption that the modifications I made were okay.
I enjoy your photoblog, by the way, Jay. Thanks.