We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How do I upload SVGs?

How Do I?

dgtlmkt's avatar
dgtlmkt
10 posts
6 years ago
dgtlmkt's avatar dgtlmkt

I’ve already disabled XSS filtering in the control panel and added the xss_clean_member_group_exception flag for my Super Admin group in my system/user/config/config file. I’ve logged in and out of the system.

What can I do to get the EE File Manager to allow SVGs to be uploaded?

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
6 years ago
Kevin Cupp's avatar Kevin Cupp

You might also need to set the upload directory to allow all files. On some servers, the file’s mime type isn’t reported as an image.

       
dgtlmkt's avatar
dgtlmkt
10 posts
6 years ago
dgtlmkt's avatar dgtlmkt

Thanks for that Kevin. I did set the upload directory to accept all files, but it didn’t change the situation. I ended up rethinking my asset strategy - since the SVGs are exclusively used by the templates, I just added them as part of the template files instead of manageable files. I appreciate the help.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.