creating all image files on page upload