Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-04 17:06:11

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

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.

Download here

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

#2 2007-11-04 20:18:38

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: cno_image_order

haven’t tried it yet but i suspect this might come in handy at some point. bookmarked. thanks!

Offline

#3 2007-11-05 07:36:41

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: cno_image_order

looks like a great idea for image-centred sites in particular!


TXP Builders – finely-crafted code, design and txp

Offline

#4 2007-11-10 13:07:09

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

#5 2007-11-11 13:48:56

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

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

#6 2007-11-12 10:03:03

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

#7 2007-11-12 19:26:12

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

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

#8 2007-11-13 10:23:56

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

#9 2007-11-13 15:45:40

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

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

#10 2007-11-14 10:29:14

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

#11 2007-11-17 18:11:12

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

Re: cno_image_order

Give it a go now James, it should work in Firefox.

Offline

#12 2007-11-19 10:40:20

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

Board footer

Powered by FluxBB