Visual_effect resetting display to none

I am trying to make images “grow” into place. The problem is that I
want them to do it one by one. Right after one image grows, it
refreshes the display to none on the others and I end up with only one
image.

<% @i = 0 %>

is what I am using right now.