The "Image Utility" is a free kodular extension that offers a range of powerful features for image handling,
including image loading, caching, and scaling. This handy tool is designed to enhance the browsing experience by
optimizing image display on websites, making images load faster, and providing additional functionality for image
With the Image Utility extension, users can expect improved image-loading performance and efficiency while browsing
the app. The extension works seamlessly in the background to optimize image loading, caching frequently accessed
images to reduce load times, and scaling images for optimal display on different devices and screen sizes.
When the image starts loading. src returns the URL of the image.
When the image is loaded. src returns the URL of the image.
While the image is loading. src returns the URL of the image, returns the current size of the image in bytes, and
total returns the total size in bytes of the loaded image.
When the image failed to load. src returns the URL of the image.
When the image is stored in storage. path returns the file directory & src return URL of the image.
With this module, you can set the scale type of the image component.
This method loads the image asynchronously into the image component. The
image will be scaled when it is loaded.
This method loads the image Asynchronous in into the vertical/horizontal
This method extracts the image from the cache. Saves to a directory of
Note: This method works only if WRITE_EXTERNAL_STORAGE
permission is granted and the cached image
This method loads the image asynchronously into the image without
This method deletes an image from the cache.
This method returns true if the image is in the cache, and false if the
image is not in the cache.
clearCacheDisk & clearCacheMemory
This method clears the Disk and Memory Cache.
cacheDisk & cacheMemory
With these properties, you can set whether to cache disk and memory.
Through these Properties, we can set whether the image will be scaled when it is loaded.
Through these Properties, we can set image scaling type.
Type: MATRIX, FIT_XY, FIT_START, FIT_CENTER, FIT_END, CENTER, CENTER_CROP, CENTER_INSIDE