• Resolved Russ

    (@gfxdesigner)


    Hello,

    In Divi when I add a “Blurb” module and add an SVG under “Image & Icon”, it doesn’t pull the image dimensions. The img src doesn’t even list width=”0″ height=”0″. I noticed on the “Choose an Image” page, the “Attachment Display Settings”, where you choose the size you want, it lists the SVG at full size as “0 x 0”. If I switch it to something other than an SVG, it works appropriately.

    The same is true when adding a logo within Divi’s Theme Options > General. The image src lists the dimensions as width=”0″ height=”0″ and if I add any other image type, it will show the appropriate dimensions.

    To test, I set up a fresh install with the default Divi theme (v 4.14.7) and only the SVG Support plugin (v 2.4.2). No other plugins or custom functions were added to taint the results. Additionally, if I open the SVG test image via “View Source”, I do see the dimensions are listed correctly and are not stripped out.

    • This topic was modified 3 years, 1 month ago by Russ.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Thanks for opening this as its own issue.

    I will test again. I did the same and it worked fine. But I guess it’s because the SVG has some dimensions in it that I tested with.

    Mind sharing the specific SVG you’re using to get this result please?

    I’ll see what’s going on.

    Thread Starter Russ

    (@gfxdesigner)

    Here’s the test site: https://divi.gfxservices.com/

    You can check out both the logo and the search icon.

    Thanks for taking the time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No dimensions specified when using DIVI’ is closed to new replies.