Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1267910

    Hello,

    Today I switched the domain in WP Backup from a subdomain (wp.flo-haaf.de) to the TLD http://www.flo-haaf.de. All good, the system has entered the new path everywhere and the new paths are also stored in the backend in the media library. Unfortunately, my SVGs are no longer displayed.

    1. Yes, I have “SVG support” running (always)
    2. Yes, I copied the SVG file name and opened it in the browser, there it works.
    3. Yes, I have tried various browsers (Chrome, Edge, FF) – always the same result.
    4. Yes, I have uploaded and tested new SVGs again – does not work either – JPGs are displayed.
    5. What’s weird, when I press F5 to reload the page, the graphics appear for a millisecond.

    Do you have any idea what this could be?
    Is there an enfold cache or something like that?

    greetings
    Flo

    #1267936

    i can see all the svg (Firefox, Chrome and Safari ) on your site mentioned above ( but https://www.flo-haaf.de )
    ( but your logo on top comes from . https://ftp.flo-haaf.de )
    so maybe all your browser cache had to be cleaned ? You will surely have checked your site frequently with said browsers, so they may still have the old links in there.

    #1267937

    Yes Guenni, I could fix it. You shouldn’t use a plugin when you can do the same with the code.
    I deactivate the svg support plugin and then it works. Now I have add a code snippet to my function.php.

    #1268074

    maybe you have activated the option : force inline-svg that will transform all : <img src="image-source.svg" /> to svg itself
    then svgs as inline svg needs absolute dimension settings – otherwise they will have 0x0px dimension :

    img[src*=".svg"], svg {
        width: 2500px;
        display: block;
    }

    the front-end width is then done by surrounding container.

    #1268340

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.