0

Is there a way of resizing an animated gif image when uploading it in WordPress? I've seen a couple of threads that deal with ImageMagick in order to get this to work, but I'm merely interested in a WP solution that evolves around building a script based on WP's own resizing tools. Any direction on this subject is greatly appreciated.

Staffan Estberg
  • 6,795
  • 16
  • 71
  • 107
  • It's not as easy to resize a gif using GD. You're better off using imagemagick. See this answer: http://stackoverflow.com/a/718500/551093 – Christian Apr 08 '13 at 16:26
  • Yes, saw that thread. Think it's a bit to steep for me to build something outside of WP and sync. – Staffan Estberg Apr 08 '13 at 16:29
  • 1
    The problem is that GD doesn't do what you want it to do. If there was an easier way, I would've linked you to it. I don't know what you mean about _"build outside of WP and sync"_, just create your own resize function for gifs and bind it to a hook (`image_downsize`, for example). – Christian Apr 08 '13 at 16:36
  • You're right, I could build functions inside WP. Will try that out, thanks. – Staffan Estberg Apr 08 '13 at 16:45

0 Answers0