We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How do I setup server on new hosting so that animated GIF's are correctly uploaded?

How Do I?

marijn1412's avatar
marijn1412
13 posts
4 years ago
marijn1412's avatar marijn1412

I have recently migrated an EE website to another hosting and now animated GIF’s are not correctly uploaded through EE (animation is lost). Is this a server setting that I need to adjust or is there’s something else going on?

       
vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

Are you applying any sort of image manipulation while uploading the image? EE should only modify the file if you are applying changes to the image, otherwise it should be uploaded without modifications.

       
marijn1412's avatar
marijn1412
13 posts
4 years ago
marijn1412's avatar marijn1412

I do have image manipulation active to create a thumbnail and I understand that the thumbnail will therefor not have animation… but it’s affecting the default upload as well. Even when I turn off image manipulation completely it will not upload the animated GIF correctly.

As I didn’t have the issue on the previous server, I suspect it has something to do with the server settings.. but I have no idea what to look for.

       
vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

Did you compare the uploaded image on the server with the local one to see if they match in size? They should not if it has changed.

That will let you see if it has changed (which it should if it’s losing the animation).

Are you sure the server is not somehow optimizing the image on upload? Did you ask your server administrator or hosting service? They might be filtering files on upload.

Try uploading the same image without Expression Engine? FTP. Check to see if the behavior is the same. If it is, it’s not EE but something on your server.

Did you upgrade EE on the new server to a new version, or it’s the same as the previous server?

       
marijn1412's avatar
marijn1412
13 posts
4 years ago
marijn1412's avatar marijn1412

Thanks for helping out!

  1. The animated GIF has changed in size after uploading via EE

  2. Uploading via FTP works as expected: the animated GIF keeps its animation

  3. I have contacted the hosting service, but they said I have to contact EE first..

  4. EE version is 5.4.2, which is the same as on old server (although it could be that I updated EE on old server after I last tried uploading an animated GIF there). I definitely know it worked on version 5.3.0 though.

Is there a way to debug when image is manipulated on upload?

       
vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

From what you described, it seems it’s not a hosting or server problem, but EE manipulating the image after upload. Is the size smaller on the server? It means EE is doing some compression or optimization.

       
Rob Allen's avatar
Rob Allen
3,105 posts
4 years ago
Rob Allen's avatar Rob Allen

Have you got any default file settings that may adjust the image on upload? See file upload directory “File limits” settings.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.