[ZBX-10267] images from icon-sprite.svg may be not displayed in browser Created: 2016 Jan 14 Updated: 2025 May 30 |
|
Status: | Reopened |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.0.0alpha6 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | James Sperry | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | headers, icons, mime, svg | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS release 5.11 (Final) |
Description |
no icons were loading after initial install of Zabbix 3.0.0alpha6 Resolution was add 2 lines to /etc/mime.types and 2 lines to the top of img/icon-sprite.svg and restart httpd |
Comments |
Comment by Oleksii Zagorskyi [ 2016 Jan 18 ] |
Interesting, what error/message did you see in Apache log? image/svg+xml svg svgz And in browsers I see the icon well without svg file modification. |
Comment by James Sperry [ 2016 Jan 18 ] |
I didn't see any error in error_log or access_log The icons just wouldn't show up. If I used chromes development tools to inspect element, I saw that it was referring to the .svg file in img/ I tried in both Chrome and Firefox, and was not able to load the icons. This is probably due to the fact that I'm on Centos 5.11 or something, but wanted to put it out there in case anyone else ran into this issue. |
Comment by Oleksii Zagorskyi [ 2016 Jan 18 ] |
My experiments show that with commented out the line in /etc/mime.types, then "Content-Type: image/svg+xml" header is missing in response, as expected. Interesting that Firefox under Linux shows the logo and all the pictures in any case! I don't think we have to do here anything with zabbix code. |
Comment by Kaspars Andersons [ 2025 May 30 ] |
closed due to inactivity. If the issue is still active please create new request |