reduce image size to not spill over in details page