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

FSE Featured Image block needs size settings #31323

Closed
hedgefield opened this issue Apr 29, 2021 · 7 comments
Closed

FSE Featured Image block needs size settings #31323

hedgefield opened this issue Apr 29, 2021 · 7 comments
Labels
[Block] Post Featured Image Affects the Post Featured Image Block

Comments

@hedgefield
Copy link

What problem does this address?

When adding the Post Featured Image block to the Query Loop placeholder, it does it quite literally: it shows the image set as the Featured Image for that post. But there are no size controls for the image and it doesn't seem to respect a content column width setting or anything, it just always renders at full width it seems. This has taken over 90% of the browser window. I tried resizing the image in the media library but that didn't change the size it is displayed at on the frontend. I selected a different image which was a lot smaller but that too renders across the entire width of the browser.

What is your proposed solution?

Add size and width options to the Post Featured Image block.

Screenshot_2021-04-29 Site Editor (beta) ‹ Chéz Hedge — WordPress

@carolinan
Copy link
Contributor

@hedgefield Is this a duplicate of #27620 ?

@hedgefield
Copy link
Author

It's related in the sense that it both problems have the same cause - the lack of size controls on query loop images - but I wouldn't exactly call it duplicates. I think 27620 talks about a different kind of block, and fixing that does not automatically fix this.

@carolinan
Copy link
Contributor

It is the same block, you can choose to place it inside a query, or anywhere else where there is a post-type context.

@hedgefield
Copy link
Author

Ahh sorry yes I thought it was the gallery block they were talking about from that screenshot. Yes then they are duplicates in that sense.

@annezazu
Copy link
Contributor

Making this decision to close this out as a duplicate as I agree with @carolinan: #27620 Feel free to re-open if there is some nuance that I missed but it's helpful to consolidate these related issues!

@justintadlock
Copy link
Contributor

I thought this ticket was for the "Image Size" setting (e.g., Full, Large, Medium, Custom Theme Sizes, etc.), which is slightly different from dimensions and resizing controls.

We really need to be able to set the Image Size. Should I create a new ticket or would that be more appropriate in the other too?

@annezazu
Copy link
Contributor

Personally, I'd chime in on the issue mentioned above as much of what I believe you are referring to is touched on there. If you're thinking of something else though, happy to re-open this or to see a new issue created.

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
Projects
None yet
Development

No branches or pull requests

4 participants