- Issue created by @vasike
- Merge request !11333Issue #3509597 by vasike: Image Style Action plugin for image files. β (Open) created by vasike
- π·π΄Romania vasike Ramnicu Valcea
MR available - first attempt
For start:
- What's not clear?
- What's missing?
- Naming (for classes/action) - this big one topic
- What's next - πΊπΈUnited States freelock Seattle
It looks to me that this action plugin replaces the existing image, instead of generating a derivative image?
That's not what I'm looking for -- I want to just generate the derivative image. For content created programmatically, the derivative images don't exist until somebody visits a page that renders the specific image style you want. When posting images to social media, you might have an image style that isn't rendered when you want to send that image, and this can cause errors/failed posts.
- π©πͺGermany IT-Cru Munich
Current MR state would replace original image with generated image style, which could be critical:
- People maybe need original image for better quality or bigger dimensions
- When wrong image style is used via plugin you could not revert this change
- When plugin is applied multiple time on same image quality could reduced when reducing filter quality effects are included in selected image style
- π·π΄Romania vasike Ramnicu Valcea
Updates on the MR and issue summary ... support for generate Derivatives ...
p.s. there could be issues for action access because of file access issues like
https://www.drupal.org/project/drupal/issues/3450005 π File entity update is allowed only for user who has uploaded the file Active