1. A method of displaying an image by an electronic device, the method comprising: acquiring, from a server, at least one image and a caption which have been posted on a web page associated with the server, the caption being attached to and outside of the at least one image on the web page; obtaining at least one tag associated with the at least one image from the caption; classifying the at least one image into a group, based on a response tag included in the at least one tag, the response tag including information on at least one of a number of comments and a number of likes; and displaying the at least one image corresponding to the group.