Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Chrome displays correctly image icon but firefox is not displaying.

  • 3 odpovede
  • 2 majú tento problém
  • 2 zobrazenia
  • Posledná odpoveď od sagar1986hire

more options

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

Upravil(a) cor-el dňa

Všetky odpovede (3)

more options

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.

more options

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.

more options

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