Closed kayosdesign closed 2 years ago
Hey,
Thanks for the suggestion. I haven't used WPGraphQL plugin before, but I guess example script could be created on how blur data can be included to queries.
br Atte
Hey,
I played around with this little bit and added a short snippet here. I wanted to make more restricted approach, so client can't query non-existing image sizes, but unfortunately WPGraphQL doesn't include the original size in their media size enum. Maybe it can be added later though.
Anyway, I don't think this is a good feature to add to this plugin. If this gets more attraction, we can make a separate extension plugin out of it.
Hopefully the snippet is enough for now.
Howdy,
It'd be nice if the plugin registered the metadata against WPGraphQL
something along the line of
Can then pull out the blurred code using
I'm then using it in a NextJS app like
Cheers, D.