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.
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?
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.
"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.
yeah, you're right. i just updated from subversion, and it looks like that gallery block doesn't have the ability to order images.
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.
I believe for the former it does not, but for the latter it does.
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.
I would really appreciate it.
Thanks for the help!
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
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