Chrome displays correctly image icon but firefox is not displaying.

I am using thyme leaf for presentation layer.
Following is the code line.

<img style="float:left;display:block;max-height:48px;max-width:48px;min-height:48px;min-width:48px;" th:src="'data:image;base64,' + ${chartImageData}"></img>

above code line correctly works in chrome and displays image icon
However, it's not working for firefox and while inspecting element in firebug it gives error as "failed to load given url".

↓ Show more ↑ Show less
  • All posts
  • Helpful Solutions
  • post
  • post
  • owner