Set max height for picture