-
Notifications
You must be signed in to change notification settings - Fork 91
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
Generate renditions for all images uploaded to magento #1476
Labels
Milestone
Comments
Hi @sivaschenko. Thank you for your report. Please, add a comment to assign the issue:
|
@magento I'm working on this |
sivaschenko
added a commit
that referenced
this issue
Aug 12, 2020
…k-1476 #1476 :- Generate renditions for all images uploaded to magento
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently when the image is uploaded to the media gallery, the thumbnail is created for the image. The idea is to use a similar approach for generating the optimized version of the image.
(see
\Magento\Cms\Model\Wysiwyg\Images\Storage::resizeFile
)Implementation
\Magento\MediaGalleryRenditionsApi\Api\GenerateRentitionsInterface
should be introduced with a single methodexecute(string $path): void
\Magento\MediaGalleryRenditions\Model\GenerateRentitions
GenerateRentitionsInterface
should be used to execute rendition generation during the image uploadThe text was updated successfully, but these errors were encountered: