temp images will be changed to pdf