You put the [ img ] [ /img ] (without the spaces near the square brackets) around the url and bob's your uncle.
If you go to a posting someone has made with a photo in it and try to "quote" it in response it shows you the code in the editing window that opens....so try looking at this one.