I'm trying to build an app based on Cordova and a js swiper (idangero), but I have to load big background images (stored locally and up to 2048x2048 pixel).
The problem: If I load about 5+ images (1 image for each page) at the same time the app will crash because of the memory limit.
So I wrote a function to load only 3 images (one visible, 2 out of the view). This works, but the swipe animation stops for a few ms while the new images gets loaded.
Is there a way to load new images smooth (without the animation freeze) while swiping the pages? Maybe using ionic or so? Maybe using multiple static pages instead of a swiper?
Thanks!