Allow gif images resizing