-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media Library no longer allows the ability to view images attached to post #12753
Comments
I just found this as well......I have thousands of images and trying to find the right one for featured image (old posts did not use them) is a nightmare without this filter |
+1 |
Also a report of this from 11543319-hc |
Same here for a custom post type. With Gutenberg installed I can see the linked posts only via the media library. |
+1 How open media library and select old attachments to current post? How delete images attached to post? |
since à long time i use media attachments in order to do "custom slider" but with gutenberg i have no idea how to do that anymore |
I'm having the same issue because of that +1 |
Yes, this is a pain to go through so many images to find the ones that are uploaded to the images. Usually, writers upload images and editor's need to find them to set them as featured images...etc. Please fix this bug. |
This is no longer a valid solution. Even having the classic editor plugin does not allow you to filter media by 'attached to' post. |
+1 to get this back |
+1+1+1 |
Worth noting here that some work would need to be done to ensure Gutenberg added images are properly seen as attached. Right now, you can have an image in a Gutenberg post or page but the status in WP Admin > Media will still show unattached. |
+1 |
+1 !! |
Note: This feature is present for the Featured Image control, but not when inserting media using one of the media block types. |
User requesting this feature to return in 3021542-hc |
Great news, @fylgjur :) these feature will be critical for some of the WP installations I have. Do you know in which version of WordPress will the fix be? |
In case of Gallery Block or FeaturedImage , Filter is displayed. Occurs only in Image Block. |
Hi @nosquirrelbones James and others could we get a status update on this issue? |
I can reproduce this issue with Gutenberg 9.9.1 |
+1 Two years after the launch of a new editor's interface, Wordpress still didn't ensure feature paring with the old version: forcing 5 million installations still using the old editor with a plugin. Why? |
@tiagogon Fortunately WordPress is an open source project. You are welcome to contribute to it. So that we can reach this goal soon. Thanks! |
Could we get an update with screenshots comparing the two versions? |
Helped a client recently who offered a work-around: Directly Quoted
if not found it really is unattached |
For anyone looking for a solution for this, check my other comment out: |
I've opened a tentative PR that exposes the additional media library filters when using the media library with the image block. Ready for review / feedback over in #65965 That PR only exposes the filters for now, it doesn't address one of the issues mentioned earlier in the discussion here (#12753 (comment)):
So, separately to that PR, it'd be good to investigate the desired behaviour for attaching images to a post in Gutenberg. I.e. just one idea — when we add an image to a post, if it isn't already attached to the post then update the image to be attached to the current post id. If it's already attached, then don't switch the attachment. Curious to hear if anyone had other ideas about how that part of things should work! |
Update: I've merged in #65965 which exposes the filters within the media library in the block editor. For the problem of images that already exist in the media library and are then added to a post or page, but do not become "attached" to that post, I've opened a separate issue over in #66663 where the discussion can continue. Currently in Gutenberg, if you upload directly to the post (i.e. drag an image onto the Image block), then it becomes attached to the post. However this does not happen if a user selects the image from the media library. |
When viewing the media library from the classic editor there is the ability to filter results by media type as well as view images attached to a post, unattached, or belonging to the user.
With Gutenberg this is lost and it seems you can only filter by date.
Installing the classic editor plugin restores the Media Library modal view along with the additional filter.
The desired solution would be to restore these filters in Gutenberg.
The text was updated successfully, but these errors were encountered: