Releases: mindkomm/timmy
Releases · mindkomm/timmy
v0.10.0
- Changed image configuration option
size
tosizes
to use the attribute name that is also used in the HTML markup. This means you have to update your image configuration (backwards compatibility provided). - Added functionality that prevents smaller images from being oversized. In the image configuration, there’s a new option:
oversize
. False per default, it can be set to true to allow images to grow bigger than their uploaded size. Otherwise, Timmy returns only sizes smaller or equal than the uploaded image size and also adds a style attribute "width" or "height", to prevent the image to autogrow in the browser. - Integrated Timmy’s image sizes better into default WordPress functionalities to better support other plugins like Advanced Custom Fields, Admin Columns by codepress and Yoast SEO.
- Improved README with section about image size keys. See README.
- Fixed call to deprecated method
get_src
. - Fixed error when
0
was used for the width parameter. - Namespaced all instances of calls to Timber classes. Timber classes are namespaced since Timber v1.0.0.