Help please with a random image background that used to work

Hi all, I have been using klwp to show a different random image on each home page. This worked wellon various phones and tablets but fails on my new shiny pixel 11 pro. It occasionally work slowly, but often doesn’t switch when moving pages and nearly never when in landscape mode. I think I have done things correctly with moving the pictures to within the Kustom dir and ensured battery optimisation. The background bitmap is set to $tu(rndimg,15,“/Kustom/images/”+if(si(land)=1,“l”,“p”)+si(screen))$

Any advice would be wonderful, thanks

Hi @BushAl ,

Welcome to this forum.

In regards to your request, here’s my tips & example that might be useful for you.

I hope this would help.

:smiling_face::+1:

Thanks for that. Unfortunately I loaded the preset but it crashes as it cannot find a directory and does not seem to let me modify it. I have placed images in the pictures/backgrounds

Hmm…

@BushAl ,

Would you like to try to manually recreate the preset?

Here are the screenshots for the steps (tap the thumbnails to view the larger screenshots with their captions):

I hope this would help.

:smiling_face::+1:

Thanks very much Baju, that did the trick

I am going to mark Baju’s work as the solution, but I still cannot get any page based image change to work, even very basic ones, so I think it is a very aggressive OS on my pixel 11 pro. I wil therefore ask for specific help with a much simpler issue as a separate question.