-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG refused #27
Comments
Any update on SVG support in laravel nova? |
SVG is a must-have feature for nowadays! |
I can confirm SVG works partially. I have raised an issue with laravel laravel/framework#26990 For the meantime I can only suggest you to change the mime type. Most SVG Cleaners and optimizers do this for you. |
any other solutions for this, svg really is a must. Maybe we can override the core to have our own validation ? |
Checked it with laravel 5.8, working fine. |
i am on laravel 5.8 faced the issue today. Can't upload svg usuing Image field. i get the error ".. must be an image." Can you confirm it's working? |
Just figured out. Correct it works fine. But you have to make sure your svg contains <?xml version="1.0" encoding="iso-8859-1"?> in first line. Some svg files does not has <?xml version="1.0" encoding="iso-8859-1"?> (for example font-awesome svg files). So this cause validation error. |
I defined one of my Mediacollections to allow svg:s.
When I try to upload an svg I get the error; "must be an image".
The text was updated successfully, but these errors were encountered: