gif image is not working in Gallery in Nexus 5
Not displaying a *.gif image is more-likely related to the application you are trying to view the image with, rather than being device specific. 

Take a look on the Google PlayStore for an alternative picture/gallery application. I know of one called "GIF Player" which could be of use in the worst-case scenario.