Tiny library for manage image preloading