check if images are present