Ad Widget

Collapse

Zabbix 4 frontend - icons are invisible in Chrome browser.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Engraf
    Member
    • Sep 2014
    • 41

    #1

    Zabbix 4 frontend - icons are invisible in Chrome browser.

    Zabbix (Server/Frontend) 4.0.0
    Apache 2.4
    PHP 7.2

    When open site on Chrome (v69.0.3497.100) there is no icons. The SVG-file (/img/icon-sprite.svg) that contains it are shown as plain/text in Chrome. Though in Firefox site opens normally with all icons are visible.

    Click image for larger version

Name:	Login_page.png
Views:	849
Size:	173.6 KB
ID:	368027Click image for larger version

Name:	svg_image.png
Views:	808
Size:	38.8 KB
ID:	368028
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    Try to serve them with correct type header 'image/svg+xml' - https://davidwalsh.name/serve-svg-image
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • Engraf
      Member
      • Sep 2014
      • 41

      #3
      Thanks, it helped!

      Comment

      Working...