images are stored in image attribute not file