Matt Kane
Matt Kane
This was a bug before (and is this bug is a side effect of it). It was supposed to work like it does currently. If you want it to not...
This is unfortunately a limitation of the Astro image service API, but there may be a way to work around it. I'll have a think. It's really more useful for...
@jamesli2021 yes, it would be similar to an SPA, but without the problems that SPAs have of staying open in a browser. As you identify, it's only an issue for...
> I'm curious to hear what people think we should do about (3) I wonder if there's value in an `error` slot, so there can be a separate fallback state...
I've updated the implementation details part of the RFC based on things I've discovered while prototyping.
@carlcs It generates a sizes attribute based on the assumption that it's the full width of the screen when downsized. You'd need to pass your own if this is incorrect.
@carlcs https://github.com/withastro/astro/pull/12482
@jasikpark you should be able to do that now. You need to use a class rather than `img`, because the specificity is too low. I just tried this and it...
@yinhx3 thanks for your feedback. One of the main reasons we have the experimental features and RFC process is to get feedback on APIs and implementations. I was planning to...
@yinhx3 the object-fit/position styles are to ensure consistent behaviour, whether or not the image service supports cropping. There is an argument to be made that they're not so important now...