Releases: Twansparant/responsive-pics
Release list
Version 1.9.6
Fixes
🐛 Fix focal point sidebar field syncing + number inputs with live updates by @joshuafredrickson in #101
Version 1.9.5
Updates
- Update
Action Schedulerto 3.9.3 for PHP 8.4 compatibility by @joshuafredrickson in #95 - Update node to
lts/jod - Update node dependencies
Version 1.9.4
Features
👑 Change ownership to Toine Kamps
Version 1.9.3
Features
- Add new
decorativeparameter to theget_imageandget_image_datafunctions as well as to the/responsive-pics/v1/image/and/responsive-pics/v1/image-data/API endpoints in order to treat the<img>as decorative and adding an emptyaltattribute for screen readers (closes #73 ). - Add new
img_classesparameter to theget_pictureandget_picture_datafunctions as well as to the/responsive-pics/v1/picture/and/responsive-pics/v1/picture-data/API endpoints in order to add custom css classes to the nested<img>tag in the<picture>element (closes #70 ).
Version 1.9.2
Fixes
🐛 Only add valid alt, width and height attributes on unsupported mime type <img> tag.
Version 1.9.1
Fixes
🐛 Remove width and height attributes on empty gif <img> tag to prevent incorrect aspect ratio.
Version 1.9.0
Fixes
🐛 When the WP Offload Media (Lite) plugin is activated, but an image was/is not offloaded to S3, use the regular file_exists check instead.
🐛 Add missing width and height attributes on <img> tags based upon smallest image source or LQIP image (fixes #72).
🐛 Add missing width and height attributes on picture <source> tags and empty gif <img> tag.
🐛 Only add alt attribute on <img> tags when it's present in attachment data.
Version 1.8.4
Fixes
- 🐛 Don't printPublicPath in frontend (fixes #71).
Version 1.8.3
Fixes
🐛 Use $resize_path to check for existing file in responsive_pics_file_exists filter (credits: @manuelportela).
Version 1.8.2
Fixes
- Prevent images being added to the queue on every page load when using S3 offload by using the
responsive_pics_file_existsinstead (credits: @joshuafredrickson).