Adjusted maxheight on image galleries