-
-
Notifications
You must be signed in to change notification settings - Fork 756
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 block: allow users to select a miniature? #1163
Comments
@cekk can you elaborate a bit on this? I don't fully understand this TBH. :) |
@cekk @sneridagh So, my opinion on that was that let's not add miniature field, but use picture tag with sources with sizes. Once those are defined, browser should pick whatever size is the best for the defined area. If you later want to give editor more options on image size, give something that makes more sense for editor than miniature option with Plone image scales vocabulary. Then it is up to the integrator to configure Plone to provide such scales that give best experience with the current image uses. The best part is that Plone image scales could be change later because they are not referred directly, but they just affect the available sizes in source-tag. |
Ok, @nzambello was supposed to reply to this thread some weeks ago ;) Of course we could customize that widget/block to allow miniatures selection, but i wanted to know if that's a feature that we don't want to have in Volto because we don't want to give users the powers to choose a miniature by default (and let the browsers/themes choose the right one based on screen size). I'm not talking about cropping or something else, just to do what we can do in classic Plone in Tiny. |
After giving this some thought I think we should add two new buttons to the alignment list with smaller images, so we have:
|
can't agree more ;) |
Implemented and released. |
I don't know if this is a topic already discussed, but for me it could be useful adding a "miniature" field in image block configuration, to select what miniature to use for the image in the text.
I have several cases where i migrate pages from old sites and images are very large because they are used in different places, but in the text they use a smaller miniature..and in Volto they appear too big ;)
The text was updated successfully, but these errors were encountered: