Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

SVGs don't show up in Safari #68

Closed
tsmith0511 opened this issue Jun 27, 2014 · 4 comments
Closed

SVGs don't show up in Safari #68

tsmith0511 opened this issue Jun 27, 2014 · 4 comments

Comments

@tsmith0511
Copy link

Hello again! I resolved my first issue but I have another and none of the solutions I'm trying are working. I'm using SVG images both as inline images and background images and none are appearing in Safari. I've added to the header and AddType image/svg+xml .svg .svgz to the .htsccess file. When I inspect element the image the MIME type does come up as image/svg+xml but when I inspect the image in Safari the image doesn't appear, like the link isn't correct it. Any ideas?

Thanks for the amazing foundation WP theme.

@olefredrik
Copy link
Owner

Hi. Will SVG images render correctly in Chrome and Firefox? It looks like you're not the only one who has issues with SVG and Safari. The proposed solutions on stackoverflow suggest adding image/svg+html to your webconfig / .htaccess file. http://stackoverflow.com/questions/12012573/not-able-to-render-svg-image-in-safari

I have no first hand experience with SVG + Safari my self, so I'm afraid you just have to keep on googling until you get that nice eureka moment when everything just works :)

If/when you get it to work, it would be nice if you could post the magic solution to the issue in this thread.

Cheers,
Ole Fredrik

@tsmith0511
Copy link
Author

Haven't gotten it to work. I did try adding that to my .htaccess file and I've tried many other suggestions but no go :(

@AdamChlan
Copy link
Contributor

Is the site running locally or on a live server? I've had issues with SVGs on old GoDaddy servers. I'm running the theme locally and using SVGs and have no issues in Safari.

@tsmith0511
Copy link
Author

It's on a live server http://publichousewines.hstestsite.info/

I have png's in there now. If you'd like I can stick an svg image so you
can check it out. But yes, last time I had an svg in there it didn't show
up on Safari. And yes it's running off of GoDaddy.

Thanks for your help!

On Fri, Jul 11, 2014 at 10:42 AM, Adam Chlan [email protected]
wrote:

Is the site running locally or on a live server? I've had issues with SVGs
on old GoDaddy servers. I'm running the theme locally and using SVGs and
have no issues in Safari.


Reply to this email directly or view it on GitHub
#68 (comment)
.

Tessa Smith
Web Developer
(805)-451-4804
Los Angeles, CA

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants