Added a simple image preloader with example usage.