Method for transmitting for image and an electronic device thereof

The present invention relates to a method for transmitting an image and an electronic device for transmitting an image. A method for transmitting an image in an electronic device comprises the steps of: displaying a history of message transmission and reception with at least one different electronic device; detecting a selection of a camera execution menu; displaying a preview screen of a camera within a screen where the message transmission and reception history is displayed; detecting a touch on the displayed preview screen; photographing a subject when the displayed preview screen is touched; detecting a gesture of the photographed image; and transmitting the photographed image to the electronic device according to the detected gesture when the gesture of the photographed image is detected. Therefore, an image can be photographed and transmitted without screen switching while a message application is executed.