Making the image loading generic - No hard coding for image path (made relative to base path)