-
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
Image Size: Remember the last size used. #8663
Comments
In my case, it's using "Full" by default, I wonder if this is something plugins/themes are customizing in the media library. |
Interesting. I guess I need to poke around more to see what I can find. |
Closed #12348 as a duplicate and noting the request to make the "Image Size" setting sticky the same way it currently works in the classic editor. |
I tested with WordPress 4.9.8, Gutenberg 4.5.1, and the Twenty Seventeen 1.7 theme using Firefox 63.0.3 on macOS 10.13.6 today and found that images are now inserted as "Large" image size by default. Seen at https://tan-otter.jurassic.ninja/wp-admin/post.php?post=120&action=edit with WordPress 4.9.8, Gutenberg 4.5.1, and the Twenty Seventeen 1.7 theme using Firefox 63.0.3 on macOS 10.13.6. |
I am running WordPress 4.5.1 with Gutenberg 4.5.1 on a theme I created and Gutenberg always defaults to using large images. Really really want it to behave like the Classic editor and remember what I last used. |
Yes, this would be great if it remembered last settings. The "link to" setting often needs to be set to Media so that lightboxes work, but now you have to remember to do it manually for every image. What a pain! |
So happy to have found this (I thought I was going crazy), but sad to see there's no update to this yet. As we're growing a blogging team at the office, it'd be nice to let them just work on creative and not have to make sure everyone selected the right image size on upload. A minor inconvenience and nothing dire, but would definitely be a nice setting to have! |
I think the 'large' size default pick is hard coded here. To confirm: removing |
Actually, I think it's hardcoded here in the |
Any update on this? Causes a few more clicks for every single image uploaded... |
This needs to be fixed. Either provide a filter, or add it to "writing" settings page. Changing the default values in options.php doesn't work either. |
#15091 mentions using the
|
That depends on how "sticky" is defined and implemented. The original post here doesn't make any mention of sticky and I think it was a mistake for @designsimply to conflate these two issues. Similarly, #8734 is not the same issue either and has mistakenly been tagged as such. Site-wide settings should be defined via the database (options.php is currently the only method for this). Over-riding those on the block level makes sense, and this is already built into the way that the image block is saved with the parameters inline. eg. As a user, simply changing the image block once for a particular image, doesn't mean I want that to be the new "default". I don't want my post-level edits to change my site-wide settings. I don't think "sticky" makes sense in this case. Surfacing the ability to change this default more easily, in the options-media.php would be smart, but separate from this issue. The scope of this particular issue is not "sticky" settings or the incorrect display of the image size (#8734), but simply having the image block respect the user-specified image_default_size setting on first insert. In a cascading preference when inserting the image block:
Then rather than DEFAULT_SIZE_SLUG in https://github.com/WordPress/gutenberg/blob/master/packages/block-library/src/image/edit.js on line 201, 233, use the value from step #2 |
Bump. This is an ongoing problem. Every time somebody inserts an image they have to change the image size. This seems small but at 10 seconds per image x 5 images per post x 2 posts per week x 52 weeks per year this is 86 minutes per year. Per person. Now multiply that by millions of users. To change an image size from what should be a user-selected default - that you've already built into Wordpress: @youknowriad any chance of this getting done? @m |
I have this problem too! My expectation is that the |
Who has a solution ? |
I have the same problem. Need to set image_default_size to "full". |
Have the same problem. I also want it to be Align : Center by default. |
Hi!
Got a way on how to do this. On Settings >> Media, change the value for large to 0. And it will make the full size the default size automatically :) |
Hi, I would like to work on this issue and bring |
Still waiting for a solution on this as well. Gutenberg must deliver a way to set default values. Stop creating new "fancy things" and make current editor UX useful. The Gutenberg developers seems to not working with WordPress clients in real life. Lets make Gutenberg less confusing and easier: one way is to release filters in PHP transported into the js enviroment. |
This has been fixed: FiliagoDev/WordPress@53aff53 |
It would be nice in future versions if we had the ability to change the image size default settings. In my case, I like my images large and wouldn't want "Thumbnail" as my default size. Would save me a few clicks on each blog post I do.
I currently have v 3.4.0
The text was updated successfully, but these errors were encountered: