Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Chrome displays correctly image icon but firefox is not displaying.

  • 3 Antworten
  • 2 haben dieses Problem
  • 15 Aufrufe
  • Letzte Antwort von sagar1986hire

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".

I am using thyme leaf for presentation layer.<br /> Following is the code line. <pre><nowiki><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></nowiki></pre> above code line correctly works in chrome and displays image icon <br /> However, it's not working for firefox and while inspecting element in firebug it gives error as "failed to load given url".

Geändert am von cor-el

Alle Antworten (3)

Do you image block Addons(Extensions)?


Try the Firefox Safe Mode to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.

(If you're not using it, switch to the Default theme.)

  • You can open the Firefox 4.0+ Safe Mode by holding the Shift key when you use the Firefox desktop or Start menu shortcut.
  • Or use the Help menu item and click on the Restart with Add-ons Disabled... menu item while Firefox is running.

Don't select anything right now, just use "'Start in Safe Mode" To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again. If it is good in the Firefox Safe Mode, your problem is probably caused by an extension, and you need to figure out which one.

Please follow the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article for that.

When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.

What is the resulting data URL and what kind of image is this (jpg, png, gif)?

Does it work with src instead of th:src ?


A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

Other images are displaying correctly.and i think its the issue with jquery because we are showing images dynamically.