added and resized images in carousel