• Hi Everyone, I’ve a website named Snail motion. I’m using a gif file to present the elements. But after update, the WordPress, Now gif file is not animated due to cropping. 1st I remove scrset, but still gif file crop auto.

    I have attached some images for better understanding.
    https://ibb.co/30cSkLz
    https://ibb.co/87TLnQH

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • image_resize is responsible for resizing images it is usually found in the functions.php file. I’m not sure if there is a filter for this command. The command should be present for each size. Removing the commands would probably stop images from being resized.

    You might want to look for a filter for image resizing. It would probably be a better option. try looking at the documentation for image_resize().

    You might also want to look at replacing GIF files with animated webp files. They are newer and consume fewer resources. Another option would be using SVG files and animating the with javascript.

Viewing 1 replies (of 1 total)
  • The topic ‘How do i stop auto resizing Gif file’ is closed to new replies.