how to permanently attach the image to the file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to permanently attach the image to the file?

because i want to share the html file

8th Nov 2016, 6:31 PM
Vedansh
Vedansh - avatar
3 Answers
+ 2
yes embed now modern websites are doing them however their image is generated dynamically. you can use data:text/image URL request I recommend using jpeg or anyformat with base 64 for short texts.
8th Nov 2016, 7:16 PM
Sandeep Chatterjee
+ 2
thanks
10th Nov 2016, 3:54 PM
Vedansh
Vedansh - avatar
+ 1
You can do it with Base64 encoding. I have never tried it, though. Check out this: http://www.askapache.com/online-tools/base64-image-converter/ and this http://www.techerator.com/2011/12/how-to-embed-images-directly-into-your-html/
8th Nov 2016, 7:03 PM
Giulio Pellitta
Giulio Pellitta - avatar