• My question is twofold: On the one hand: Is it also possible to encode SVG graphics with the plugin? SVG can also be integrated inline directly, i.e. without a detour via base64, if the problem with quotation marks is addressed correctly:

    url('data:image/svg+xml;utf8,<svg ...> ... </svg>')

    If this is not possible: Please consider this as a feature request. Thank you very much!

    I use the Storefront theme and would like to set a background image with an (animated) SVG. Can the plugin also be used if a background image is to be set via the Appearance / Customize / Header menu? That would be great, but it doesn’t seem to work at the moment.

    <header id="masthead" class="site-header lazy" role="banner" style="background-image: url(&quot;https://space.gekko.de/wp-content/uploads/2023/12/starship_back.svg&quot;);" data-bg="url(https://space.gekko.de/wp-content/uploads/2023/12/starship_back.svg)" data-was-processed="true">

    I am grateful for any information.

    The page I need help with: [log in to see the link]

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

    (@giuse)

    Hi Denis,

    probably, you can do what you need with SVG Support. Have you tried it?

    Have a great day!
    Jose

    Thread Starter Denis Giffeler

    (@giffeler)

    Hello Jose, thank you very much for your reply. Yes, I already use the plugin you mentioned for managing SVG images. However, this only solves the problem that the media library cannot otherwise manage SVG. It has nothing to do with inline images. I have now edited the two essential images “by hand”. Your plugin for Base64 encoding of images is nevertheless useful and very well implemented.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVG graphics and HEADER-Section’ is closed to new replies.