Can someone suggest a solution to accommodate SVG product images? And if it is compatible with MV v4.20 and above.
Hello
SVG upload is blocked on purpose, not by accident. CS-Cart / Multi-Vendor bans it in config.php (‘svg’ in forbidden_file_extensions, ‘image/svg+xml’ in forbidden_mime_types, and it’s kept out of allowed_image_extensions), because an SVG is XML that can become a stored-XSS vector attack, which is especially risky when vendors upload their own images.
You can technically enable it (drop svg from those two lists, add it to allowed_image_extensions, the core already displays vectors without thumbnailing), but don’t do it without sanitizing the SVG on upload.
If you really care about us, please contact us on priv
Have a nice day
Best regards
Robert
I think, the main issue is that the thumbnail creation will not work correctly. That is why SVG upload is blocked. It will be required to rework core functions to support csv.
thank you for your help
I appreciate your advice.