Is that HTML form only support pure text only? Can I use some JS / CSS trick to let the HTML form have image embedded?
I think he wants to embed the image into the html source, an IMG tag links to an 'external' image.
Andre Miller
2009-10-11 14:34:58
I think he wants to send an image to the server.
Fabien Ménager
2009-10-11 14:36:24
I think he doesn't knows what he wants
Pedro Ladaria
2009-10-12 09:54:30
+1
A:
What do you mean by "image embedded"?
If it's only for decoration, you can put it before or after the form and position it with CSS as needed.
If you mean, submit an image (or any kind of file) then use input type="file".
Regarding image directly in form, it may work but I'm not sure the document will validate. Better check it out.
Developer Art
2009-10-11 14:35:52
A:
If you want to embed an image into HTML - here are some questions:
http://stackoverflow.com/questions/1207190/embedding-base64-images http://stackoverflow.com/questions/525256/how-to-embed-images-in-html-email-on-the-mail-server
Kamarey
2009-10-11 14:44:25
A:
If you mean embedded image in base64 for example, it is not possible. You have to link a file and you cannot create a file in Javascript.
Natim
2009-10-11 14:53:45