View Full Version : HELP :: How to Embedd Base64 Image Data into a webpage/java script ??



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

n0f3a6
3rd May 2008, 17:23
yes friends...

i found it.. :-)

here are the link of the converter site...


[Only registered and activated users can see links]


[Only registered and activated users can see links]

but, is there any software to convert??? so i dont need to connect net again just to convert..

can some1 post the software to convert???

thnx...

PHoeZies
14th May 2008, 09:57
moved to web designing section..
BR