resize images and add photos of biens in details page