SVG Upload
-
Hi All,
I have recently updated to the latest version of MLA. However I cannot upload SVG’s to my site. Does anyone have the same issue?
To fix the problem, I have to disable the plugin and use this temporary code found from CSS-Tricks:
function cc_mime_types($mimes) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter('upload_mimes', 'cc_mime_types');The error message, as follows:
Sorry, this file type is not permitted for security reasons.
By default the svg was already present I have disabled, removed and re-entered it into the upload tab, to no avail. It was working previously.
Many thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘SVG Upload’ is closed to new replies.