Outsources image loading