add image properties in api reponse