pre-get image file