Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
cno_image_order
cno_image_order
Here is a plugin which add image re-ordering functionality to images within a category in Textpattern. The plugin is basically a slight remake of Stanislav Mueller’s stm_article_order.
Install the plugin, enable it and go to Content > Image Sequence
If images have a thumbnail these will be displayed otherwise the plugin will show their ID or Caption. Drag and drop them around to resequence your images. You can even move images between different categories by dragging them around.
To use the new sequencing in a gallery/slideshow plugin add the following to their sort value:
sort="position asc"
or
sort="position desc"
This may not work with all slideshow/gallery plugins for TXP at all as I have not tested many. Only works in TXP 4.0.5 Still working in Textpattern 4.5.7.
Annotation: Images have to be assigned a category in order to appear on the Image Sequence panel. By default, all image categories are folded in. Click on any category name to reveal its images.
Thanks to Stanislav Mueller for use of his code.
Changelog
0.1: Initial release
0.12 (12/11/07): Added delete button under each thumbnail. If you click on the thumbnail it takes you to the full image page.
0.13 (17/11/07): Small minor fixes, too small to even list really.
Moderator’s annotation:
Edited to correct the download link and add the annotation.
– Uli –
Last edited by uli (2015-08-21 12:34:08)
Offline
Re: cno_image_order
haven’t tried it yet but i suspect this might come in handy at some point. bookmarked. thanks!
Offline
Re: cno_image_order
looks like a great idea for image-centred sites in particular!
TXP Builders – finely-crafted code, design and txp
Offline
Re: cno_image_order
Hmm, well this is quite interesting but if you have a large number of images (I do) it doesn’t give you a useable interface. Too much there, the page is way too big and unwieldly.
What would make this very interesting though is if each thumbnail let you click though to the actual image. Depending on what exactly you wanted to do, this could be a great improvement on the default txp image navigation, which is very badly designed.
Any chance of modifying the code to do this, as a substitute for txp image navigation?
Offline
Re: cno_image_order
I know what you mean, if you have a lot of images in seperate categories the page tends to be quite long, heavy and messy. A pulldown menu where you can select what category to sequence would be nice and I am working on it. The ability to delete (potentially add) is also needed in the longer run. Perhaps some sort of lightbox implementation to see the larger image would be one way of seeing the larger the image.
So yeah, lots of improvements to be made.
/Christian
Offline
Re: cno_image_order
Good work, dude.
There’s been lots of discussions about improving txp image management, but about 80% of it never materialised. Maybe this plug in could be used as a basis to do that? What it really needs is the ability to click through to the actual images, for editing purposes.
A lot of ideas get bounced around here http://forum.textpattern.com/viewtopic.php?id=15032
Last edited by jameslomax (2007-11-12 10:03:42)
Offline
Re: cno_image_order
Yeah I have read through the forum thread and there are a lot of good ideas, my problem is my lack of php skills so most of the plugin is trial and error and some luck.
Updated cno_image_order to include some new stuff. See above.
jameslomax wrote:
Good work, dude.
There’s been lots of discussions about improving txp image management, but about 80% of it never materialised. Maybe this plug in could be used as a basis to do that? What it really needs is the ability to click through to the actual images, for editing purposes.
A lot of ideas get bounced around here http://forum.textpattern.com/viewtopic.php?id=15032
Offline
Re: cno_image_order
Yay….but it doesn’t seem to be working for me….there’s no click to the full image page…..
Running 4.05
Offline
Re: cno_image_order
James,
I will have a look at it when I come home. I only tested it in Safari so that might be an issue.
/Christian
Offline
Re: cno_image_order
OK great I was using firefox and didn’t test on anything else.
If this works, it could be a very useful interim improvement on image management…..
Offline
Re: cno_image_order
Give it a go now James, it should work in Firefox.
Offline
Re: cno_image_order
Hmm still not working for me Christian, using FF version 2.something.
I tested it in IE as well and it’s not working there for me either, with version 7-something, I think it is….
Offline