Open kreossino opened 5 years ago
Could you provide such a gif file here for testing?
I think this should do the work, if properly understood the issue:
I cannot reproduce this. I used the above image as an 'external source' when adding the image using TinyMCE. The GIF displays fine, with all of its images.
The source code:
[img width=365&title=Fb21b0b6852c]https://user-images.githubusercontent.com/3104702/52509437-cfd55e80-2c00-11e9-85d3-fb21b0b6852c.gif[/img]
Tested; confirming kreassino's issue
When uploaded in mediamanager the image (gif) is not active playing.
Ok, when going INTO mediamanager and click preview the gif file is active !!
Now posting as mediamanager insert the gif remains still.
(old discussions on the internet seem to indicate through the years...with Tiny) resizing troubles make the gif's non moving.
Here's an example made AFTER the prev post for external. (as visual example) ### inside Tinymce.
The problem is that when resizing the image, only the first frame will be used. Resizing an gif is not such a trivial task and requires quite some server resources. I don't think that this is something that could be done on the fly. You will in all cases loose the timing of the frames as far as I know.
Indeed @SimSync , but in this case it is not we as users that resize, but likely the 'thumb' used in system that does it. Even manual adding the exact size will always be the first image solemly....... (hence thats why some others use specially created plugins for that case only ...)
when i insert a .gif in tinymce i see only the first image and not all images of gif. the tinymce sanitize this image with [img][/img]. how can i resolve?