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

WP-image to allow preload prop #32

Open
drewbaker opened this issue Nov 12, 2021 · 2 comments
Open

WP-image to allow preload prop #32

drewbaker opened this issue Nov 12, 2021 · 2 comments
Labels
nuxt 2 Issues relating to the Nuxt 2 version of fuxt

Comments

@drewbaker
Copy link
Member

Would be great to have a preload prop on wp-image that does this: https://web.dev/preload-responsive-images/

Should be false by default.

@izzygld
Copy link

izzygld commented Nov 15, 2021

perhaps we should look at nuxt-image to take car of the speed/sizing and breakpoints.

@drewbaker
Copy link
Member Author

Yeah I've seen that module, it's an interesting idea. I'd need to investigate how best to use that with WordPress serving the images. Probably just give it the full file URL and let the nuxt-img component handle everything else.

wp-image does a lot of other things too (captions, videos) so I'd have to figure out how to play well with that too.

@drewbaker drewbaker added the nuxt 2 Issues relating to the Nuxt 2 version of fuxt label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nuxt 2 Issues relating to the Nuxt 2 version of fuxt
Projects
None yet
Development

No branches or pull requests

2 participants