Pre-load images in a background-process using promises.