added .jpg extension to image