WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.16k stars 4.05k forks source link

[Feature] Sort images + rearrange in Gallery Block #24578

Open carlosferrari opened 3 years ago

carlosferrari commented 3 years ago

There is a missing feature that was present in classic editor that is sorting imagens by file name. I am a photographer and depending how images are uploaded into server they might be out of order, that's why sorting by file is needed. Something is around 50+ photos per post and it is a pain/undoable by hand.

Another nice feature would be about rearrange, being able to select with shift/ctrl pressed and then drag photos to a custom order. Would be much easier than doing it one by one.

annezazu commented 3 years ago

@carlosferrari Thanks for sharing this insight as a photographer! By chance, are you referring to this screen and option to filter in the screenshot below?

Screen Shot 2020-08-14 at 5 29 14 PM
carlosferrari commented 3 years ago

Hi @annezazu In fact it's another option (attached), when editing the gallery there's an option to invert order, that's missing from the new blocks, and would be nice to have the option to sort by file name as well.

Classic Block: Screen Shot 2020-08-16 at 10 27 48

New Block missing: Screen Shot 2020-08-16 at 10 27 33

And another thing, I just noticed the edit gallery option when inside the blocks is buried at the bottom of the gallery block (go to bottom the block > media gallery > edit gallery), in the classic it stays at the top with the pencil leading to edit it directly, which makes it easy to spot.

Classic Block: Screen Shot 2020-08-16 at 10 36 49

New Block: Screen Shot 2020-08-16 at 10 37 36

annezazu commented 3 years ago

@carlosferrari fantastic! Thank you for these wonderful screenshots. I figured I was missing something and this will be very useful for others upon review.

StaggerLeee commented 3 years ago

I see one problem too. Once one image in gallery is marked for editing and options to upload, media library etc are visible, there is no way to get out of this view. I believed clicking X will lead me back to image view but not, image is deleted from gallery. It is somehow bad implementation. Second problem is this white view of what to do with marked image is not possible to click inside once User clicked on some other image in gallery.

supernovia commented 2 years ago

Just noting I was trying to help someone edit their gallery order today, and almost filed a feature request because I couldn't find the setting. (That's how I found this issue.) Can we make the edit gallery more easily discoverable... perhaps in the gallery block's toolbar?

nicolasbrouard commented 1 year ago

I think it would also be very nice to be able to sort images in a gallery by date (from the exif)

grappler commented 8 months ago

I have over 600 photos and would like to reverse the order.