Ionic-image-loader alternative to preload images

Any good alternatives to this? I am using Capacitor.

ionic-image-loader - npm has not been updated in a couple of years and while I can build it with 7.0.0-beta-2. It has this error when serving or running on device.

Uncaught TypeError: Cannot read property 'id' of undefined
    at registerNgModuleType (/vendor-es2015.js:81976)
    at /vendor-es2015.js:81987
    at Array.forEach (<anonymous>)
    at registerNgModuleType (/vendor-es2015.js:81987)
    at new NgModuleFactory$1 (/vendor-es2015.js:82084)
    at compileNgModuleFactory__POST_R3__ (/vendor-es2015.js:85628)
    at PlatformRef.bootstrapModule (/vendor-es2015.js:85866)
    at Module../src/main.ts (/main-es2015.js:3464)
    at __webpack_require__ (/runtime-es2015.js:85)
    at Object.0 (/main-es2015.js:3477)

I have found this one and it works well.

Is it valid alternative for ionic 7 cordova app?

Used ionic-image-loader-v5 but I receive this error during ionic serve command:

This likely means that the library (ionic-image-loader-v5) which declares IonicImageLoaderModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.