changed image upload to html image tag