So what I want to do is to write a txt with text and image contents, and then put it in a webpage from the string (with php).
Read the file with php and get a line of the content of the txt to transform it to an image and be able to put it on an html tag.
I haven't tried anything yet, because I don't really know how to do this, or even if it's possible.
Possible duplicate: I think that it isn't because I didn't know what Base64 was so that other answer you were supposed to know it, so for doing it easier to search for people I think it's better to leave it (or not I don't really care so much).