Not all images resizing correctly