Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15623

file size exception for animated gifs

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.2.0
    • Other

      If the uploads are images and they are bigger than a given size, a preview is generated.

      Sadly, gif previews lose the animation.

       

      In support forums, it is more and more common to use animated gifs to show how to solve an issue. It would be very useful if the administrator could set a different size for gifs, than what is in use for other types of images.

      On top of it (or as alternative...), it would be nice if a "play" icon could be added on top of the preview, when an animated gif is detected.

      Here is some code that could be used for detecting if a gif is animated:

      https://stackoverflow.com/questions/280658/can-i-detect-animated-gifs-using-php-and-gd

       

       

            Unassigned Unassigned
            a.l.e a.l.e [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: