add status check to image selection