Fork me on GitHub

Problem with image loading

24/05/2012 development

Some users are experiencing problems with triangle image (fails to load). The original documentation wrote this solution:

// Code for displaying /images/myimage.png:
var imgURL = chrome.extension.getURL("images/myimage.png");
document.getElementById("someImage").src = imgURL;

Yeah, I already know that, and I'm using since the first release. Sometimes works sometimes not. But I didn't know why! I read a lot of article, but I didn't find any useful. First time I created image loading fallback to an external image version. It doesn't work either. So I decided to drop the image and made it with CSS 3. It's coming soon with the next release.

Hold on guys!