added image url to template and added a post method to add http:// to the input