Anonymous
Unregistered
Posted 3 years ago #
It's nice being able to order the pictures in the gallery of 2.6.
Anyway, it doesn't work for me properly when I have a big gallery (say about 30+ pictures).
In this example I have 54. I think that the flash component orders quite well the pictures (from 1 to 54). But when I 'Save all changes', the order values go from 1 to 35 (thus repeating some values), and it doesn't maintain the order I put.
Thanks in advance.
Anonymous
Unregistered
Posted 3 years ago #
Anyone with the same problem?
dannyfoo
Member
Posted 3 years ago #
Same here. Not sure why it's not maintaining it's order.
Tried drag-drop and renumbering. :(
sniemetz
Member
Posted 3 years ago #
nope - not working: the "sort" fields maintain their value but the pics order is not changing when displaying the gallery...
johnstonphilip
Member
Posted 3 years ago #
I am having the same issue - I re-order the images in the gallery area by dragging and dropping them - but it has no effect on how the images are displayed on (in this case) my RSS feed.
Anyone know what is up?
Im using a custom plugin to display my images in a feed using:
Using this code:
$args = array(
'post_type' => 'attachment',
'numberposts' => -1,
'post_status' => null,
'post_parent' => $post->ID
);
$attachments = get_posts($args);
johnstonphilip
Member
Posted 3 years ago #
What is the purpose of having the drag and drop on the images order if it doesn't actually do anything? Is it used for something else?
johnstonphilip
Member
Posted 3 years ago #
Got it!
I used a for loop and then checked against current Post Number using attachment->menu_order
if ($currentAttachmentNum == $attachment->menu_order){