[Added] image preload function