In order to upload a native ugoira to Danbooru you must do a source upload. Uploading a file from your computer will not work. You can do this either by using the official upload bookmarklet or pasting the Pixiv source into the source field on the upload page.