Changes to image loading.