Home Forums WoodMart support forum some SVG images not loading on front end

some SVG images not loading on front end

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #407286



    when using a JS-COMPOSER element to display an image of type SVG,
    some are loaded and some are not, I can’t tell the difference between the files,
    both are created the same way and for the same purpose to display icons.

    the forntend source code doesn’t get any src for the image tag.

    please see attached files



    This issue is caused by your SVG image. To work properly on web pages, SVG images must have height\width attributes, which is missing in your image.

    To fix the issue:
    1. Open your dashboard logo image in any text editor.
    2. Find opening <svg> tag.
    3. Add missing attributes width=”150″ height=”150″.
    4. Save file and re-upload to your site.

    Before – https://prnt.sc/SYWU_clnjIop
    After – https://prnt.sc/2vAV8U_1zHn3

    Kind Regards



    I will check it

    thank you



    You are Most Welcome.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘some SVG images not loading on front end’ is closed to new replies.