Closed tnebe closed 6 years ago
Actually, letting the "mimeTypes"-property still include "image" as well, should not really be an issue. WDYT?
I think the widget has been limited to accept only bitmap images because of Core Image Component with different widths can only used for those images. MimeType image
would also allow image/svg+xml
to be included which is not supported.
Eehhrrr, yes, indeed. These components still have to work on aem versions lower than 6.4...
For AEM 6.3 this issue will be fixed with the Cumulative Fix Pack 6.3.2.2, which is planned for end of June.
NPR-23156
When using AEM Core WCM Image component with provided dialog, it only accepts rasterized images by
mimeTypes
change of @kwin in https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/pull/32/filesWith this change, the fileupload widget is no more able to create a thumbnail, as the according script only accepts
image
as mimeType in /libs/cq/gui/components/authoring/dialog/fileupload/render.jsp [AEM 6.3.0.2]:According Daycare ticket has been raised and already confimed by Adobe as a product bug in Ticket ID 139755 and will now be fixed with AEM 6.4. The change could be applied earlier by overlaying /libs/cq/gui/components/authoring/dialog/fileupload/render.jsp and will look like:
Nevertheless raising an issue here also, as this is a bad behaviour coming with introducing WCM Core Image Component and like to discuss possible solutions.
Maybe there is an approach for accepting any type of image because SVG´s are not able to use with current solution or just adding a hint in the image component README file.
Thanks!