Comments (2)
Hey @therealgilles, thanks for your issue and for taking the time to hunt down the problem. I fixed the problem in 43cb35b and released the fix in a new version.
from timmy.
Maybe this fix would do:
if ( ! empty( $parent ) ) {
$attachment_post_type = array( $parent->post_type );
}
from timmy.
Related Issues (20)
- "sizes" attribute set even when no "srcset" is availible, violating w3 check HOT 3
- wp_make_content_images_responsive() deprecated in version 5.5 of Wordpress HOT 3
- get_timber_image_responsive_acf doesn't deliver image but error message HOT 1
- Support wordpress loading="lazy" feature (since 5.5) HOT 2
- Do not upscale/overize in filter_image_downsize HOT 6
- Timmy tries to resize video files HOT 6
- Content images from Gutenberg are not always detected due to wrong regex HOT 3
- Media Library Thumbnail Size not working HOT 3
- How to allow custom image size or disable custom image size within admin
- Cannot use timmy responsive content images with wordpress responsive images in combination HOT 1
- When the timmy/generate_srcset_sizes is set to true the 'oversize' option is ignored HOT 2
- Provide a Timmy::VERSION constant HOT 1
- Responsive remote/external/CDN image HOT 4
- lazy_src in picture_responsive HOT 1
- Notice: Trying to access array offset on value of type bool in mindkomm/timmy/lib/Image.php on line 499 HOT 2
- Class 'Timmy\Image' not found when using v1.0 HOT 1
- .
- deprecation: PHP 8.1: FILTER_SANITIZE_STRING HOT 1
- Composer version without composer.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timmy.