Added image loading.