Disable resizing so animated gif's work?

Running newest version. Is it possible to prevent this addon from resizing gif's so that they will play as normal instead of a static image?

Comments

  • If you get no answer, here a little workaround:

    If you upload the GIF with Fileupload, the Animated GIF works fine.. ;)

  • Change line 49 to

    $Props = $UploadImage->SaveImageAs($TmpImage,$TargetImage,C('Plugins.UploadImage.MaxHeight',''),C('Plugins.UploadImage.MaxWidth',650), array('SaveGif' => true));
    

    and it should save animated gifs.
    If you really want to disable resizing though, you can change it to just:

    $Props = $UploadImage->SaveImageAs($TmpImage,$TargetImage);
    
  • @Bleistivt said:
    Change line 49 to

    $Props = $UploadImage->SaveImageAs($TmpImage,$TargetImage,C('Plugins.UploadImage.MaxHeight',''),C('Plugins.UploadImage.MaxWidth',650), array('SaveGif' => true));
    

    and it should save animated gifs.

    Seems to be on line 51 according to Notepad++

    Regardless, that option works flawlessly. Exactly what I wanted. Thank you sir.

Sign In or Register to comment.