changed image from an attriubte to a property to lazy load image data