Trimmed the last row of images.