Jump to content

Can't upload animated GIF


alejandro
 Share

Recommended Posts

Hello, I can´t upload an animated gif into an image field, when using "Choose file" or dropping the file onto the field it keeps spinning but doesn´t finish, and when saving the page it's not uploaded. Any idea why?

Thanks in advance, Alejandro.

Link to comment
Share on other sites

Just to be safe: which version of PW? I assume PW 3+ or 2.8+

But regardless of that, you need to install this: http://modules.processwire.com/modules/image-animated-gif/

 

EDIT:

For the record: We want to implement an equivalent of the above module into the PW 3+ / 2.8+ core. But I first need to modify / write it.

Edited by horst
  • Like 6
Link to comment
Share on other sites

Endless saving events are a sign that the ajax upload resulted in returning some PHP notice, warning, error via AJAX. That prevents the imagefield from updating correctly. You need to use the browsers Webtools and see what you get returned from the AJAX upload. ALso useful is to check manually in the assets/files/{12345}/ folder what files are there. (Your original file? A thumbnail? Nothing?)

  • Like 2
Link to comment
Share on other sites

this happens with $config->debug true

 

XHR Loaded (resize - 500 Internal Server Error - 7.216459000002942s - 754B)
VM5639:3 http://diabeu.com/processwire/page/image/resize?id=1&file=skull.gif&width=505&height=727&hidpi=0
VM5640:3 Time over 1000ms
VM5641:3 Object {startedDateTime: "2016-08-25T17:16:39.149Z", time: 7216.459000002942, request: Object, response: Object, cache: Object…}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...