-
Bug
-
Resolution: Fixed
-
Neutral
-
3.5.6
-
None
-
None
-
Empty show more show less
-
DevX 35
-
2
-
Yes
Steps to reproduce
- Â Configure any theme's image variation operation to generate webp image from attached source. Please note that this issue only happen to this kind of image, not happen to all image types. aaron.anderson-40hsf.com_WEB.jpeg
- Â Below is example configuration when we change the "travel-demo-theme.yaml":
imaging: class: info.magnolia.templating.imaging.VariationAwareImagingSupport variations: "1600": class: info.magnolia.templating.imaging.variation.SimpleResizeVariation width: 1600 "1366-2": class: info.magnolia.templating.imaging.variation.SimpleResizeVariation width: 1366 ### configure webp image generator here "1366": class: info.magnolia.templating.imaging.variation.ImageOperationProvidingVariation imageOperation: class: info.magnolia.imaging.operations.ImageOperationChain outputFormat: formatName: webp parameterProviderFactory: class: info.magnolia.imaging.parameters.BinaryNodeParameterProviderFactory operations: load: class: info.magnolia.imaging.operations.load.FromBinaryNode resize: class: info.magnolia.imaging.operations.cropresize.BoundedResize maxWidth: 948 maxHeight: 948 ...
- Upload image to Asset app
- Access its variant with proper link such as:
http://host:port/contextPath/.imaging/mte/travel-demo-theme/1366/dam/folder/aaron.anderson-40hsf.com_WEB.jpg/jcr:content/aaron.anderson-40hsf.com_WEB.webp
.. Logs, screenshots, gifs...
Expected results
- System generate a correct webp image
.. Justify non-trivial expectations with a link to a doc or a relevant discussion.
Actual results
- Error happen and no webp image could be generated (see error log here error.log )
Workaround
- Do not use webp image format, change to "jpg" or other outputFormat which work.
Development notes
Acceptance criteria
- relates to
-
MGNLIMG-293 Inform user if uploaded image is not compatible with Magnolia imaging
- Accepted
- to be documented by
-
MGNLIMG-298 DOC: Only the RGB image type is supported for webp creation
- Closed
1.
|
Implement | Closed | Oanh Thai Hoang | |
2.
|
Review | Completed | Dai Ha | |
3.
|
piQA | Completed | Dai Ha | |
4.
|
QA | Completed | Chuong Doan Huy |