n0f3a6
3rd May 2008, 17:15
hi friends... can some1 help me to embedd an image data into webpage like .htm/.js/etc.. if its emnedd, i can use it even from offline & i dont want to link it in any file... Most firefox addons are like this, do u know how to convert image into Base64 Image Data??
here is an example...
#tabset { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAjCAIAAAD aE/fjAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFke XHJZTwAAAAfSURBVHjaYrKxsWFiYGDAwP///8dK45PDp4YIDBBgALN2G+DpvkDNAAAAAElFTkSuQmCC) !important; }
thnx for thos who helping...
here is an example...
#tabset { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAjCAIAAAD aE/fjAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFke XHJZTwAAAAfSURBVHjaYrKxsWFiYGDAwP///8dK45PDp4YIDBBgALN2G+DpvkDNAAAAAElFTkSuQmCC) !important; }
thnx for thos who helping...