Added the image loading part