Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image size as direct argument #58

Closed
ronilaukkarinen opened this issue Oct 11, 2022 · 1 comment · Fixed by #73
Closed

Image size as direct argument #58

ronilaukkarinen opened this issue Oct 11, 2022 · 1 comment · Fixed by #73

Comments

@ronilaukkarinen
Copy link
Member

Instead of

<?php native_lazyload_tag( $image_id, [ 'sizes' => [ 'big' => 'thumbnail' ] ] ) ?>

We could just

<?php native_lazyload_tag( $image_id, 'thumbnail' ) ?>
@timiwahalahti
Copy link
Contributor

Related to the bigger question about image lazyload tags, that might be moved to the theme at some point. Going to mark as wontfix for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants