Appear gif in the middle while the file is loading! html

Everyone, I'm doing interet research but I can not find anything! Help!

While the file uploaded by the user is upping, I would like to make a gif image appear in the middle of the site. How can I do?