Loading.gif Icon For Cuploadedfile

How to show the loading.gif animated gif when upload file using CUploadedFile?

Can someone show me some codes? I am thinking to show and hide a <div> before and after the uploading. But I think there may be more elegant way to do that. Thanks!

Hi I think you can use this extension i hope it’s some help.