Skip to content

Releases: mindkomm/timmy

0.14.8

28 Jul 20:19
Compare
Choose a tag to compare
  • Fixed more issues with regex for Responsive Content Images.

0.14.7

01 Jul 19:25
Compare
Choose a tag to compare
  • Fixed regex for Responsive Content Images.
  • Fixed a bug for attachments that were deleted from the media library.

0.14.6

30 Mar 06:30
Compare
Choose a tag to compare
  • Added content_filters argument for Responsive Content Images constructor.
  • Fixed an internal performance issue with wp_check_filetype() when a lot of image data is requested.

0.14.5

11 Sep 14:12
Compare
Choose a tag to compare
  • Added Block Editor support for the Responsive Content Images functionality.
  • Added new timber_image_srcset() function to get only the srcset for an image size.
  • Added support for using values like 1x and 2x in the srcset definition.
  • Fixed get_timber_image_responsive_acf() function.
  • Fixed a bug when srcset sizes weren’t generated on upload.
  • Fixed a bug when the sizes was written into the markup even though there was no srcset.
  • Deprecated function get_acf_image_attr().

0.14.4

03 Mar 19:31
Compare
Choose a tag to compare

This release fixes a bug when low-quality image sizes were generated when using WordPress 5.3+.

Added support for scaled images

As of WordPress 5.3, images above 2560px will be scaled down to a smaller version for the full size of an image. This version will include -scaled in its filename. Because Timmy relied on wp_get_attachment_url(), smaller image sizes would be created based on this scaled version, which resulted in a very visible quality loss.

Timmy now uses the new wp_get_original_image_url() function when needed. There’s also a fallback to wp_get_attachment_url() for WordPress versions below 5.3.

Wrongly generated images will be regenerated on the fly as soon as you install this update.

Timmy now returns the scaled version of an image, when the full image size is requested. You can always get the original size of an image when using original instead of full as the size.

If you want to disable scaled images, you’ll have to use the big_image_size_threshold filter:

add_filter( 'big_image_size_threshold', '__return_false' );

0.14.4-rc.1

20 Feb 16:21
Compare
Choose a tag to compare
0.14.4-rc.1 Pre-release
Pre-release

See 0.14.4.

0.14.3

20 Feb 13:39
Compare
Choose a tag to compare
  • Added new filter for wp_get_attachment_metadata that adds a sizes configuration for image sizes that are missing in the image meta data. This should improve compatibility when image data is requested through the WP REST API.

0.14.3-rc.1

25 Sep 14:30
Compare
Choose a tag to compare
0.14.3-rc.1 Pre-release
Pre-release

See 0.14.3.

0.14.2

19 Aug 06:45
Compare
Choose a tag to compare

Default src for images

  • Added new filter timmy/use_src_default to define whether a src attribute should be added as a fallback.
  • Added new filter timmy/src_default to define what the src attribute’s content should be.
  • Improved the default src fallback for images with data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7. This fixes bugs in IE 11.

Lazy Loading

  • Added new lazy_sizes parameter to get_timber_image_responsive_src() function. This will allow you to prefix the sizes attribute with data-.
  • Improved lazy filter by adding a parameter to define which attributes should be prefixed with data-. E.g., you can now use image|get_timber_image_responsive('large')|lazy(['srcset', 'src', 'sizes']) to prefix the srcset, the src and the sizes attributes with data-.

You can read more about this in the Lazy Loading Documentation

0.14.2-rc.1

09 Aug 16:58
Compare
Choose a tag to compare
0.14.2-rc.1 Pre-release
Pre-release