Maybe it is not a real gif (aka renamed from jpg to gif) and the server does notice that it is no gif. Many servers are set that you cant just rename a file cause it could contain code.
Just an idea since my servers for example are set this way for security reasons
Bookmarks