the image is store in the FLASH , so how may image can be stored be decide by your code size. the maximum (approx) number of predefined images is (16K FLASH- your code size)/(size of every image(now is 384=96byte)) , just modify the array that your can change the number of the images.