Hi @renekoflertowa,
Cloudinary doesn’t support yet the SVG format, however, I am trying to reproduce your issue. I have only been able to upload an SVG image to WordPress using the SVG support plugin, hence to go further, could you share the following information:
Looking forward to your response.
Regards,
Loic
Hi @loiccloudinary,
I’m running WordPress 5.4.2 and the Plugin Version is 2.1.9.
As an example I also tried it with this file https://www.svgrepo.com/svg/27924/batman
This is my WP Media Library: https://pasteboard.co/Jm1aN2I.png
Best regards,
Rene
Hi @renekoflertowa,
Thanks for sharing those details, I can confirm I have reproduced the issue.
It is a known issue when trying to sync an SVG image to Cloudinary via the WordPress plugin.
If you hover the Cloudinary sync icon, you will have either:
- InvalidTransformation: Invalid width in transformation: 0 if your SVG doesn’t contain any width.
- InvalidTransformation: Not encoding raster image to SVG, use e_vectorize as the last component in transformation if your SVG contain a width.
In both cases, this is due to the fact that we are not supporting SVG yet.
Best,
Loic
@loiccloudinary
OK, I just get the Hover Text “Syncing metadata”.
Thanks for your help and keep me updated, when this issue is solved.
Hi @renekoflertowa
With versions above the 2.1.9, you can now synchronized svg with Cloudinary. While WordPress still doesn’t support it, if you use a 3rd party plugin to upload your svg images to WordPress like Safe SVG, the synchronization with Cloudinary will be not possible.
Hope it helps.
Best,
Loic