We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

SVG icon not showing on server installation | Forum

Topic location: Forum home » Development » Themes
Ana
Ana Apr 22 '16
SkaDate / Oxwall troubleshooting : svg images are not displayed

Some theme related images in SkaDate / Oxwall are in .png format and some are in .svg . Depending on your server configurations .svg files might be blocked . On front end this will result in missing images. Example: image to the left has missing svg console icons. Image to the right is the way console should have looked like:

svg image missing skadate / oxwall    Screenshot-987

If you have faced such issues you need to trigger  your main .htaccess file. Lines to add:

AddType image/svg+xml svg svgz
AddEncoding gzip svgz

Overall you should have following:


AddEncoding gzip .gz
AddEncoding gzip .gzip
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>

original article link: https://skatips.wordpress.com/...t-getting-displayed/