No svg image upload possible for manufactures
Please confirm you have done the following before posting your bug report:
- [x] I have enabled debug mode
- [x] I have read checked the Common Issues page
Describe the bug Uploading of svg logos for manufacturers not possible.
To Reproduce Steps to reproduce the behavior:
- Go to 'Settings'
- Click on 'Manufactures'
- Edit one manufacturer or create one
- Click on "Select File"
- On Windows you have to click on "All Files" too select svgs. (Please put all supported image types in default file scope).
- Upload a svg picture
- Click on save
- See error
Expected behavior A clear and concise description of what you expected to happen. Upload works fine for a svg
Screenshots If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
- Snipe-IT Version 4.6.17
- OS: [Raspbian]
- Web Server: [Apache]
- PHP Version 7.0.33
Desktop (please complete the following information):
- OS: [Windows 10]
- Browser [chrome]
- Version [ 74.0.3729.131]
Error Messages
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
- If a stacktrace is provided in the error, include that too.
- Any errors that appear in your browser's error console.
- Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
YES - Include any additional information you can find in
storage/logsand your webserver's logs. Accepted filetypes are jpg, png, gif, and svg. Max upload size allowed is 8M.
The image must be a file of type: png, gif, jpg, jpeg, svg.
Additional context
- Is this a fresh install or an upgrade? Upgrade
- What OS and web server you're running Snipe-IT on
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
- Include what you've done so far in the installation, and if you got any error messages along the way.
- Indicate whether or not you've manually edited any data directly in the database
Add any other context about the problem here.
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.