remove .jpg from images