Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15465

Animated gif loses animation after resize

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.11.3
    • Image
    • None
    • Unknown

    Description

      Steps to reproduce:
      1. Attach giphy.gif to a wiki page
      2. Edit the page in wiki mode and add

      [[image:giphy.gif]]
      [[image:giphy.gif||width="100" height="100"]] 
      

      Expected results:
      In view mode, both images are animated, the second one is resized, both images are animated.

      Actual results:
      Two images are displayed in view mode, the second one is resized, only the first image is animated

      The HTML generated (from the inspector)

      [[image:giphy.gif]]
      <img src="/xwiki/bin/download/01-Quotidien/01D-Mon-service/Brouillon/Page%20avec%20GIF%20anim%C3%A9/WebHome/giphy.gif" alt="giphy.gif">
      

      and

      [[image:giphy.gif||width="100" height="100"]] 
      <img src="/xwiki/bin/download/01-Quotidien/01D-Mon-service/Brouillon/Page%20avec%20GIF%20anim%C3%A9/WebHome/giphy.gif?width=100&amp;height=100" width="100" height="100" alt="giphy.gif">
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            aifrim Alexandra Ifrim
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: