Forum
Assets toolbar SVG images missing
Have double checked files have uploaded OK but I'm not seeing the Assets toolbar svg images in my Perch 1.8.4 to 2.5.1 upgrade. That's perch/core/assets/img/assets.svg and perch/core/assets/img/search.svg. I can click on the image in the source code and view it but it's not displayed in the admin. I'm not seeing any errors in my error log.
I've tried Chrome, Firefox and even IE but get the same result.
Thanks for your help.
Do you get a 404 or anything like that?
No 404s. For example, I can right click on "missing" search.svg image and show it in a new tab.
Can you see the response headers for the SVG file, in particular the content type the server is sending it with?
Content-Type: text/xml
Ah, they should be
image/svg+xml
. Can you try adding this to your.htaccess
file?OK, that's worked! Thanks.
(My web host is also adding the appropriate line to httpd.conf which should remove the .htaccess requirement)
Great. It's unusual that it's not there already.