- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2019
10:58 PM
11-16-2019
10:58 PM
Base64 data as image source
Hello,
This might be out of the topic not sure but I was wondering if anyone has used base64 encoding of a svg for icon purposes. I’m having an issue where the data url isn’t showing up on the front end of my site. I have created a class inside a custom css sheet. I then created a Static block and a custom div class to insert the svg icon as the background but the icon isn’t appearing I’m not sure if I’m missing any steps.
Thanks in advance
This might be out of the topic not sure but I was wondering if anyone has used base64 encoding of a svg for icon purposes. I’m having an issue where the data url isn’t showing up on the front end of my site. I have created a class inside a custom css sheet. I then created a Static block and a custom div class to insert the svg icon as the background but the icon isn’t appearing I’m not sure if I’m missing any steps.
Thanks in advance
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019
12:08 PM
11-17-2019
12:08 PM
Re: Base64 data as image source
Hi @charlesny09 , can you please specify the path where the image is located and the code/html snippet that is used to add an image to the output.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019
10:57 PM
11-17-2019
10:57 PM
Re: Base64 data as image source
Actually I just realized i was uploading the wrong custom css file. Problem solved. Thanks!