Making picutre correct size if there is a caption