Animated GIFs not working in WordPress?

Last Updated at : July 25, 2017 By - Usama Muneer | 1600

    Back Story

    Recently, while trying my luck with adding a little GIF inside my WordPress post & soon realizing that it’s not at all working out for me. The image wasn’t animating.

    First few attempts

    Soon after I realized that something might not be right with uploading of the image. I re-tested the GIF on my machine & tried re-uploading it a couple of times. But that doesn’t work either.

    The Quick Solution

    After several attempts and disappointments, I found out the solution and it was damn pretty simple.
    When you upload the new image,  WordPress resized it for you whether you want it or not or until you tell your WordPress not to.

    Same case is with the GIFs. The problem was occurring due to the cropped version of image I tried uploading. Cropping the GIF might cause it to break some frames and hence results in a regular image.

    After uploading your GIF, make sure to edit the GIF and set the image to the full size. Which ensures that WordPress uses the original image you uploaded.

    Any questions?

     

    blog user
    Usama Muneer

    A web enthusiastic, self-motivated & detail-oriented professional Full-Stack Web Developer from Karachi, Pakistan with experience in developing applications using JavaScript, WordPress & Laravel specifically. Loves to write on different web technologies with an equally useful skill to make some sense out of it.

    Related Posts

    No Related Posts Found