[6.0.5] logo.svg theme not appearing in safari
Expected Behavior image to appear in Safari as it does in FF and IE and Chrome
Actual Behavior Image doesn't appear in Safari at all
Steps Create a theme using the folder in
s3/support/github-issues/core/11236
Log in via chrome and notice the image appears Log in via Safari and notice the image doesn't appear.
Things tried
- Resize the image -- it appears large according to the specs. Attempted to resize to proper specs
- Configure the viewBox for the image
- Configure all XML code for the image to mimic a working SVG theme image
- Replace a working image with this image (via cut and paste of the image into the working file) -- save new file and replace file in theme
No matter what I do, cannot get this theme to show the image in Safari.
@ser72 you said yesterday on IRC that this specific SVG image contains an embedded JPG image, is that correct ? Maybe Safari cannot properly render this kind of SVG ?
@PVince81 Yes it is specific to this SVG. I have other SVG images that work fine in Safari.
Well then maybe that might be the issue. If the embedded JPG is all there is in the SVG, just save the JPG as PNG and use that as logo. No need to fake-wrap it as SVG.
@ser72 that is, you just need to remove the logo.svg and logo-wide.svg entirely. Then it will fall-back to the PNG.
cc @butonic cause he fixed that in https://github.com/owncloud/core/pull/5496 some time ago (is in stable6).
@jancborchardt
Bingo. That did the trick.
Great! :)
I have the same problem. And when I remove the .svg files as suggested no logo is displayed anymore - neither in Firefox nor in Safari.
@alve89 likely your theme or image is broken.
And when I remove the .svg files as suggested
That’s not suggested anywhere. We recommend using SVG files as they look nice and scale to high-dpi such as smartphones and modern displays. PNG is only the fallback for IE8.
Have any one a solution without configurating in the core because of the updates? I think the issue is creating an svg. Attached my Ilustrator Settings...