image upload function; requirements.txt added