add gif image detect