question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVG icons not loading

See original GitHub issue

I downloaded the zipped structure, built it with bower and loaded the index.html page in examples. The icons are not showing up.

As per the documentation here: http://alex-d.github.io/Trumbowyg/documentation.html#svg-icons, I added this line of code before $('#editor').trumbowyg();:

$.trumbowyg.svgPath = '/Users/attitude/Desktop/Trumbowyg-develop/dist/ui/icons.svg';

Same result. How do I get the icons to load correctly? Or is it that because they will be loaded by XHR, they will show up only in a server-client environment, not if the page is loaded in the browser locally?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Alex-Dcommented, Jul 11, 2016

You need to be in HTTP(S)

0reactions
Alex-Dcommented, Jul 15, 2016

I can’t help you without context.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome not rendering SVG referenced via <img> element
I am having issues with google chrome not rendering svg with an img element. This happens when refreshing the page and initial page...
Read more >
Icons (svg) are not visible - Rey theme – Support
The SVG code is not unique ... One common reason why svg icons won't show up is the fact that their code is...
Read more >
Problems with svg images - WordPress.org
I have a problem with my svg icons. In my input “Theme file types to upload” there is a rule for .svg type,...
Read more >
SVG Icons are not loading – Failed to decode downloaded font
I'm trying to incorporate flexmonster into another product, IBM Cognos Analytics, as a custom visualization. Everything seems to be working ...
Read more >
SVG Icons not showing up? - Theme Palace
My hamburger menu, scroll to top, and drop down menu arrows are all not showing. I believe these are all SVG and styled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found