-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animated gif type image sequences #127
Comments
I wonder how is this different from the Wagtail Image support for animated images? |
This app is a better fit than wagtailimages for animations when the animation is the defining feature of the visual content. Conceptually these are more video than image and fit in with the tooling and concepts of wagtailmedia. We are really mainly just talking about a “type” here to distinguish the playback and display charactaristics of the animations from more typical video and audio media content. The idea of adding the “picture” type is for categorization but also supported playback features. The problem is that browsers disregard video autoplay in certain scenarios. This means Wagtail’s image app is based around filters that manipulate the image in different ways. Unlike typical static images, these types of animations are meant to be included on the page as-is and only scaled proportionally with css client side if required – just like a video. You can’t just pick an animated image from the chooser panel and drop it in a page unaltered because image filters are applied to any image passed to the template. Filters like “fill-*” can remove important parts of the animation. There is also the issue of speed – when applied to animated images, the filters can be unexpectedly slow. Since filters in wagtailimages typically happen at time of render, this can be problematic. I have had a better workflow experience using these types of graphics with wagtailmedia than wagtailimages. However, since there isn’t a “picture” type to distinguish animated graphics I have used video formats. Being able to check for an animated graphic type in templates for a different element than audio/video would make this more widely usable. |
@thenewguy wagtail/rfcs#71 would probably fill that need. Could you have a look and provide any comments? |
I just read the document on my phone. I didn't see anything specific to animated images. It was my understanding that it intends to simplify multiple renditions of the same image using the picture element or srcset. Since it is still using the image handling api in wagtail that is optimized for single frame images, I don't think it will fix the difficulties with animated images |
Do we want to offer support for animated images? I.e. having a dedicated type like audio and video.
It is the same concept as silent video except templating would ideally be using an animated image format and the picture element to avoid autoplay issues associated with the video element
The text was updated successfully, but these errors were encountered: