I don't know Minim enough to answer, but indeed, currently you just display the image when the loop index reaches a given value, which happen always...
Side note: as said in the Reference, put size() at the top of the setup() function.
Side note: as said in the Reference, put size() at the top of the setup() function.