Working on show_image template.
Fixed some bugs in edit_image template.