How to create a continous flow with the switch TOP?

I have this network where I created a slideshow of images, that uses the blend between inputs fade, which I then throw into a feedback loop. At the moment I’m using a triangle type LFO, to slide through all the images, the only problem here is that it goes from 0 to 30 and then back from 30 to 0. What I want is that it continuously fade from 30 to 0 instantly after it hits 30, so it will not feel repeated. What is the best way to go about this?

You can set your LFO type to ramp

The key is to have the first and last inputs be the same image, so it will blend back to the starting visual.

Set the LFO type to Ramp, set the amplitude to the total number of inputs - 1, and enjoy.