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

Use ImageWidget for Teaser override image #6268

Open
rotavio opened this issue Aug 22, 2024 · 1 comment
Open

Use ImageWidget for Teaser override image #6268

rotavio opened this issue Aug 22, 2024 · 1 comment

Comments

@rotavio
Copy link

rotavio commented Aug 22, 2024

Is your feature request related to a problem? Please describe.
Regarding issue 4286, I'm trying to use the new Image Widget for the override image on the Teaser block. I think it would be nice if the user could also upload a new image, instead of being limited to the ones already saved as content.

Describe the solution you'd like
Use the ImageWidget instead of ObjectBrowser Widget

Describe alternatives you've considered
I`ve tried to replace it, but for some reason the image saved is only a string with the image url, not the full object with image_scales, expected by the teaser view

@ichim-david
Copy link
Member

@rotavio I have made such a change as part of this pull request #6156
as I've mentioned in this comment #6156 (comment)

I have however reverted the commit since there was no feedback that we want todo this at this moment
although to be fair I didn't ask if we want such a thing either.

If there is consent from the @plone/volto-team we can always make a new pull request with such a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants