Image loader function for assload.