Matt Kane

Results 231 comments of Matt Kane

You can’t checkout unless you’ve added mine as an upstream and `git fetch`ed it. It’s a single line commented out though, so you may as well do it yourself.

@iadcg It didn't give the correct result if the app hadn't been launched since switching on. My use case was to detect if the device was on charge when running...

Hi. Thanks for opening this. I read your blog a month or so ago. Do you think that it would be possible to automate that approach, with support for the...

The srcsets that we generate for `constrained` and `fixed` _are_ capped at 2x the requested size. It's only for full width images where we offer the larger sizes, because we...

Hey. Using CSS is the correct answer. It shouldn't stretch the image, because it sets `object-fit: cover` by default. If it is strecthing it, could you inspect it and see...

Thanks. I saw both of those posts and think this would be a good idea. We already have both webc and Lit, so I'm not sure what the best approach...

That sounds like a good idea. If you'd be up for implementing it I'd be happy to add it. I'd make it a new package, `@unpic/11ty`

There is a prop `cdnOptions`, which allows params to be passed to specific CDNs. It isn't implemented for all of them, but it could be used there. It's handled in...

I don't fully understand. Are you using an image CDN? Is the private domain an image CDN or just static images?

OK, can you explain exactly: - what you do, i.e. the code - what happens, i.e. what is rendered - what you want to happen, i.e. what you want it...