No dimensions specified when using DIVI
-
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.
- The topic ‘No dimensions specified when using DIVI’ is closed to new replies.