If you right click and select “Copy Image” on a GIF you found on the internet with your browser, your clipboard will be populated with two elements:
A static PNG image of the GIF as image/png
An HTML img tag with the GIF source as text/html
For most use cases, it’s a far better user experience to pick the option 1 in the clipboard and upload that image right away in the composer, so that is what we always do. However, for animated GIFs we may want to invert the logic and paste the image source address, so the animation isn’t completely lost.
Example of the contents in the clipboard JS event after copying a random GIF from Google Image Search:
Eu testei aqui e VOCÊS ESTÃO DE PARABÉNS! Essa mudança melhorou MUITO a usabilidade do fórum, agora os membros podem até usar os gifs de outros membros que uparam pelo fórum mesmo! Ficou SENSACIONAL! (Antes não dava certo, ficava um imagem congelada kkk) Muito obrigado!