Image Block does not allow to order photos...but it says one can!

Permalink
It says on the version History that is it possible to order images.... but how? can you please help me with this. no matter what i do images organize themselves randomly.

ld13
 
Tony replied on at Permalink Reply
Tony
what block are you talking about? doesn't the image block just display a single image? are you referring to the slideshow or gallery block or something?
ld13 replied on at Permalink Reply
ld13
I am sorry Tony, I did not specify which block,. I am talking about the image gallery block. I was reading the Version History and I found this:

"Images can be ordered now."

But no matter what i do they do not get in order. I would like to get a solution so the latest images added to the folder set are posted on top of the gallery.
Tony replied on at Permalink Reply
Tony
yeah, you're right. i just updated from subversion, and it looks like that gallery block doesn't have the ability to order images.
frz replied on at Permalink Reply
frz
wait, are we talking about when you're using it as pulling from a Set, or when you're picking images by hand?

I believe for the former it does not, but for the latter it does.
ld13 replied on at Permalink Reply
ld13
I am pulling the images from a set, visitors can upload photos these photos go a to folder and the gallery is pointing to this set, but the order is random, it does not seems to follow any pattern of organization. do you have any suggestions on how make this work?
I would really appreciate it.
ld13 replied on at Permalink Reply
ld13
Thanks for the help!
ScottC replied on at Permalink Reply
ScottC
you'd have to use the sortable ui thing, which is only by default included if someone is logged in and i believe if the toolbar is up(for sitemap order etc).

basically upon a change on your ul of the files you have to serialize the order and provide that to a hidden input value, then deserialize that and save it to a field in your block and then explode that string back out and infer order from that upon view or edit.

Kinda wonky, but that's what I have done.

-Scott