Skip to content
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

Option to choose image size in Cover and Image block #52507

Open
pedjas opened this issue Jul 11, 2023 · 3 comments
Open

Option to choose image size in Cover and Image block #52507

pedjas opened this issue Jul 11, 2023 · 3 comments
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Enhancement A suggestion for improvement.

Comments

@pedjas
Copy link

pedjas commented Jul 11, 2023

What problem does this address?

When Featured image is chosen for Post, full size image is linked.

When Cover or Image block is inserted in post or template and set to use Featured image, full size image is used. This happens even if actual view of image is much smaller.

For Image block there is option to additionally choose image size used so user must be aware that his site unnecessary loads full size images just shows them small and use this option to change that.

For cover block there is not option to choose image size. Full image size is used each time.

This is huge waste of resources on site. The first rule of using images is to reduce their pixel resolution to match actual size that should be displayed, not to load large image and reduce display size using CSS.

What is your proposed solution?

User interface should warns users on this and help them easily notice discrepancy in physical and displayed image size and fix that.

For Cover images there should be option for user to choose size of image.

@jordesign jordesign added [Type] Enhancement A suggestion for improvement. [Block] Cover Affects the Cover Block - used to display content laid over a background image labels Jul 12, 2023
@hanneslsm
Copy link

I agree - I also have proposed that even for regular images the correct image size should be used automatically. Somehow same as for the cover block, as you described.
This is part of the Phase 3: https://make.wordpress.org/core/2023/07/07/media-library/
Since Phase 3 just has started I don't want you to have high hopes to see this implemented very fast. However, it's on the list.

@pedjas
Copy link
Author

pedjas commented Jul 13, 2023

I agree - I also have proposed that even for regular images the correct image size should be used automatically. Somehow same as for the cover block, as you described. This is part of the Phase 3: https://make.wordpress.org/core/2023/07/07/media-library/ Since Phase 3 just has started I don't want you to have high hopes to see this implemented very fast. However, it's on the list.

This is great!

@Luke-SF
Copy link

Luke-SF commented Sep 26, 2023

I don't see the option for image block to change from "large" to "full". What code enables that in the theme/Wordpress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants