/
[image processing] System-wide SVG file support [5.2.2-B1]
[image processing] System-wide SVG file support [5.2.2-B1]
The SVG is file format, that allows to create an image, that can be resized without loss of a quality. The In-Portal doesn't have support for SVG format currently.
Solution
- in all field declarations (except done via "img" unit and it's clones), where JPG file upload is allowed allow file upload with "svg" extension
- allow uploading SVG files in CKFinder (all resource types, where JPG is listed currently)
- allow previewing of uploaded SVG files in Flash Uploader (would need have "width" and "height" attributes of IMG tag populated, when previewing SVG file)
- add "svg" file extension to ignored extension list in "/.htaccess" to prevent mod-rewrite triggering for missing SVG files