Added function image loading.