This component can adjust the dimensions according to the given height or width. Both dimensions can be set for any local or server image