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
    Posts
  • #407286

    idoamrani
    Participant

    Hi,

    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

    #407372

    Hi,

    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.

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

    Kind Regards

    #407747

    idoamrani
    Participant

    great,
    I will check it

    thank you

    #407852

    Hello,

    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.