Nathan Chase
Nathan Chase
Thanks @danielroe & @HigherOrderLogic - changes have been committed.
So what's the roadblock to get h3 (and Nuxt 3, as a result) to serve files via [http2](https://nodejs.org/api/http2.html) protocol?
Same here. If I have a ``, it resizes using Cloudflare fine, but if I have a ``, it does not work. The HTML renders out a path to `/_ipx/...`,...
FWIW, I believe this is a Sharp limitation: https://github.com/lovell/sharp/issues/2863
> @nathanchase What's your workaround like with the `provider="cloudflare"` ? Or is it the same as [#1061 (comment)](https://github.com/nuxt/image/issues/1061#issuecomment-1786093586) where you need to upload the images to cloudflare separately? My workaround...
> Is there a reason `` doesn't work? Yes, because it will apply to the placeholder as well. There needs to be a way to style both the placeholder image...
Possibly - although what if someone needs to style the placeholder? The use case that led me down this path was that I wanted to have a placeholder image load,...
I suppose with `data-placeholder` you would be able to style it like so: ``` :deep([data-placeholder]) { // styles go here } ``` but that isn't particularly elegant...
As long as there is a way to style both the underlying image and the placeholder image, I'm ambivalent on the implementation. So the thought is that you'd have to...
Also, it would be nice to have an event that is emitted when the NuxtImg changes from displaying the placeholder image to the main image, so you could do something...