• Resolved larisa90

    (@larisa90)


    Hi,

    I’m uploading an svg logo, but when I view the page I see this error:
    Warning: getimagesize(/customers/f/8/a/m33.be/httpd.www/wp-content/uploads/2018/07/logo.svg): failed to open stream: No such file or directory in /customers/f/8/a/m33.be/httpd.www/pluto/wp-content/themes/bridge/title.php on line 85

    The logo shows, but the size is way smaller then it should.

    Also, I put the same logo svg image, but this time as content in the page to test it, and it doesn’t show at all on the page. I can see that it is there when I inspect it on the page. When I hover the image src in the developer tools, it tells me the images natural size, but the displayed one is 0x0.

    Why doesn’t it use it’s natural size? Can I set the size myself?
    Also, it would be really nice if I could get it to work at least in the header as logo, where i get the getimagesize() error.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Sounds like your theme header is using code that is not compatible. If you shoot me the header.php file, I can take a look.

    As for displaying SVG anywhere else. Some themes will display the correct size, others just use the 0x0px because SVG files are not actually images. You can just use CSS to set the SVG size.

    I hope this helps. Let me know about the header.php file.

    Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Since this has been left so long, I will assume it is resolved and mark this thread so.

    Help is here if you need it still.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logo error’ is closed to new replies.