Preserved the image preload, so preloading images can be serialzed into templates