some SVG images not loading on front end
-
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
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
great,
I will check it
thank you
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
The topic ‘some SVG images not loading on front end’ is closed to new replies.