Skip to Content Skip to Menu

[#7364] Animated GIF uploaded in an image field is not animated after upload

  • GUEST
5 years 10 months ago - 5 years 10 months ago #308844 by
We are using the current stable Joomla and current stable Community Builder version.

We have several image file fields for our users where they can upload an animated banner gif.
After upload the GIF is not animated anymore.

I have verified that the ImageMagick PHP library is working and is selected it in the CB configuration.
I don't receive any errors. I have even deactivated "Always Resample Image Uploads".

I have dug into the source code and can fix the issue by editing /libraries/CBLib/CBLib\Image\Image.PHP line 394
and set

$image = $image->save( $destination . $filename );

to

$image = $image->save( $destination . $filename, array('animated'=>true) );


However that hack will probably force all uploads to be converted to GIF and this issue needs to be fixed properly.
Please provide a poper bug fix in the next update.

Best regards
Carsten
Last edit: 5 years 10 months ago by krileon. Reason: Added [#7364] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48441
  • Thanks: 8275
  • Karma: 1443
5 years 10 months ago #308850 by krileon
Shouldn't need to force that as it's supposed to detect that based off the extension being a gif. Maybe a bug with the Imagine library causing it to fail. Have added a feature ticket to update Imagine and retest GIF uploads.

forge.joomlapolis.com/issues/7364


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

  • GUEST
5 years 7 months ago #310915 by
Any progress on this issue?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48441
  • Thanks: 8275
  • Karma: 1443
5 years 7 months ago #310922 by krileon
Nope, any updates will be noted in the ticket.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48441
  • Thanks: 8275
  • Karma: 1443
5 years 7 months ago #310924 by krileon
Ok, have updated Imagine to version 1.2.0 and added the animated flag for gif files. Change is under review and once merged will be released in new build.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum