fixed responsiveness and resizing images on server side