timmyomahony / craft-matrix-field-preview

Configure a screenshot preview for all your matrix field blocks, giving your clients a better publishing experience.
https://plugins.craftcms.com/matrix-field-preview
Other
16 stars 4 forks source link

Allow GIFs to be used as previews #119

Closed timmyomahony closed 11 months ago

timmyomahony commented 11 months ago

This was intended to work, but doesn't seem to be currently possible. Ideally you should be able to add GIFs to your previews.

timmyomahony commented 11 months ago

GIFs should work out of the box, but there can sometimes be issues with Craft and ImageMagick when creating transforms, causing them to fail (or take ages). There are ways to fix this (add more RAM for example). But it's also possible to disable transforms specifically for GIFs by setting the transformGifs => false setting in your config/general.php.

I've added support for this setting in the plugin in version 4.1.2 and added specific documentation for GIFs and the issues you may face.