added test images 0-9 for different intensities and functionality for image appearing based on intensity