I can confirm this, but it's expected behavior. There are some logical challenges with GIFs:
- First of all, the images you provided are all small (eg 426 x 290 px). This means that Files app will not "resize" the gifs, because what's the point if they are already small (or smaller) than the resized version?
- Files app will attempt to load the original version if there is no resize, but only if the image file size is below config option
load_images_max_filesize
, which is set to 1000000
(1MB) by default. The reason this option exists, is because it is not productive to load 5MB files directly into the layout ... Let's say you have 100 x GIF images x 5MB ... That's asking the visitor to download 500MB of images, which will be slow and also consume a lot of memory (and CPU if all gifs are animated).
This is a bit of a logical conundrum, as I understand that you simply want preview images for gifs in the layout, and that shouldn't be too much to ask. I might consider a new option image_resize_force_gif
which forces a resized version to be created for GIF files (which might be useful).
Show originals
As noted, if you want to load original non-resized GIFs, then you can increase load_images_max_filesize:
'load_images_max_filesize' => 6000000,
In the above, it's set to 6MB which should then display all the GIFs in your examples. This might work for you, but keep in mind, the page will be loading a lot of large file sizes, slowing down performance and loading speed.