moderntribe / square1-media
Media utilities for use with SquareOne projects
4.2.0
2022-10-25 16:44 UTC
Requires
- php: >=7.4
- ext-dom: *
- ext-libxml: *
- ext-simplexml: *
- ext-zlib: *
- enshrined/svg-sanitize: ^0.15
- moderntribe/square1-cli: ^4.2
- moderntribe/square1-container: ^4.2
This package is auto-updated.
Last update: 2024-11-25 21:23:26 UTC
README
A collection of utilities to handle typical media filters in SquareOne projects.
Full Size GIFs
When WordPress resizes images, animates GIFs are no longer animated. This utility encourages WordPress to use the full size version of GIF images.
Disable this feature by setting a constant in your wp-config.php
(by default, it is enabled).
define( 'FORCE_FULL_SIZE_GIFS', false ); // disables the full size GIF filter
Responsive Image Disabler
We handle responsive images in our own special way. WordPress doesn't play well with our technique, so we disable its responsive image filters.
Disable this feature by setting a constant in your wp-config.php
(by default, it is enabled).
define( 'DISABLE_WP_RESPONSIVE_IMAGES', false ); // disables the responsive images disabler