Commit

43a94e6

Sooo, here we are 🥳 (btw. second PR 🤪) You can now drop your iPhone photos onto the composer and it just works. HEIC, ProRAW DNG, even a 70 MB file. Until now, dropping a HEIC you'd moved from your iPhone to your Mac got you "Only JPEG, PNG, or WebP images up to 10 MB." Same…
QuotingAWAndi Wieser@yeapea
Step by step, my first PR for @dev-null-sh is coming together 🍻
GitHubfeat: convert HEIC and DNG photos and large images before upload by yeapea · Pull Request #1572 · dev-null-sh/dev-null.shSummary Dragging a HEIC photo that an iPhone transferred to a Mac onto the composer fails in Chrome with "Only JPEG, PNG, or WebP images up to 10 MB." Any image over 10 MB fails the same ...
First PR was a small one: profile READMEs now show their own images. If your GitHub profile README keeps its banner right next to it, like <img src="./assets/banner.png">, GitHub resolves that path for you. @dev-null-sh didn't. The relative src got dropped by the sanitizer, so the banner just wasn't there. Both @pushery and mine looked a bit empty because of it. The fix resolves a relative image against your profile repo before sanitizing: ./assets/banner.png becomes raw.githubusercontent.com/{you}/{you}/HEAD/assets/banner.png. HEAD follows your default branch, so it doesn't cost an extra API call. Absolute URLs stay untouched, and the sanitizer still checks every scheme and host just like before. https://github.com/dev-null-sh/dev-null.sh/pull/1555

commit 43a94e6