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

Post featured image block loads wrong image size #54143

Open
markhowellsmead opened this issue Sep 4, 2023 · 5 comments
Open

Post featured image block loads wrong image size #54143

markhowellsmead opened this issue Sep 4, 2023 · 5 comments
Labels
[Block] Post Featured Image Affects the Post Featured Image Block Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended

Comments

@markhowellsmead
Copy link

markhowellsmead commented Sep 4, 2023

Description

As commented in #33789, the wrong image size is displayed if a specific image resolution is selected in the Post Featured Image block. E.g. if size "medium" at 720px is selected, the size "large" is always displayed when the containing element is larger than 720px. This is confusing when a user has manually selected an image size: especially when the "medium" and "large" image sizes configured in the media settings have different crop ratios.

Step-by-step reproduction instructions

  1. Set media options for medium image size to 720px x 480px. Set large image size to 1280px x 9999px.
  2. Add a "post featured image" block to a three-column layout.
  3. Select "medium" image resolution in the post featured image block.
  4. Load the frontend at desktop resolution.
  5. Check to see the image URL which is currently being loaded in the view. In my site, it's an image which is 1600px wide.

Environment info

  • WordPress 6.3.1. No plugins at all.
  • Twenty Twenty Three theme.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@jordesign jordesign added [Type] Bug An existing feature does not function as intended Needs Testing Needs further testing to be confirmed. [Block] Post Featured Image Affects the Post Featured Image Block labels Sep 5, 2023
@ndiego
Copy link
Member

ndiego commented Sep 5, 2023

I have been testing this one and am struggling to understand how the Resolution setting is applied 🤔 Changing to Thumbnail keeps the resolution at Thumbnail pretty reliably, but on Medium and Large, things seem to change. More testing is needed on this.

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

Hi,
This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Oct 6, 2023
@markhowellsmead
Copy link
Author

The problem persists as previously described.

@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Oct 7, 2023
Copy link

github-actions bot commented Nov 6, 2023

Hi,
This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Nov 6, 2023
@markhowellsmead
Copy link
Author

The problem persists as previously described.

@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Featured Image Affects the Post Featured Image Block Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants