DEV Community

Casper Tran profile picture

Casper Tran

404 bio not found

Joined Joined on 
Substack image URLs: the original file is URL-encoded inside the address

Substack image URLs: the original file is URL-encoded inside the address

Comments
2 min read

Want to connect with Casper Tran?

Create an account to connect with Casper Tran. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Finding a site's brand color from the console, and why painted area points the wrong way

Finding a site's brand color from the console, and why painted area points the wrong way

Comments
4 min read
Walmart's image server tells you how big the original was

Walmart's image server tells you how big the original was

Comments
2 min read
Reading a site's spacing scale from computed styles, and the numbers that mislead

Reading a site's spacing scale from computed styles, and the numbers that mislead

Comments
4 min read
Etsy image URLs: the size token takes any width, and the .jpg is WebP in Chrome

Etsy image URLs: the size token takes any width, and the .jpg is WebP in Chrome

Comments
3 min read
format=jpg works on Cloudinary and imgix. On Shopify it does nothing

format=jpg works on Cloudinary and imgix. On Shopify it does nothing

Comments
2 min read
Shopee, Lazada and Tiki image URLs: the suffix picks the format, not the Accept header

Shopee, Lazada and Tiki image URLs: the suffix picks the format, not the Accept header

Comments
3 min read
Removing image/webp from the Accept header mostly gets you AVIF: five image hosts tested

Removing image/webp from the Accept header mostly gets you AVIF: five image hosts tested

Comments
3 min read
Stop the jump when a web font loads, measured with three Google fonts

Stop the jump when a web font loads, measured with three Google fonts

1
Comments 2
5 min read
Wikimedia thumbnails now: thumb.wikimedia.org, a fixed list of widths, and WebP only for some clients

Wikimedia thumbnails now: thumb.wikimedia.org, a fixed list of widths, and WebP only for some clients

Comments
4 min read
Converting a brand palette from hex to OKLCH, and what the numbers do and don't tell you

Converting a brand palette from hex to OKLCH, and what the numbers do and don't tell you

1
Comments
5 min read
Wix image URLs: fill vs fit, enc_auto, Vary: Accept and the file behind /v1/

Wix image URLs: fill vs fit, enc_auto, Vary: Accept and the file behind /v1/

Comments
5 min read
From CSS custom properties to Figma variables, with no plugin

From CSS custom properties to Figma variables, with no plugin

Comments
5 min read
Dribbble's image URLs: imgproxy options, Vary: Accept, and the shots that ignore resize

Dribbble's image URLs: imgproxy options, Vary: Accept, and the shots that ignore resize

Comments
4 min read
Linting a DESIGN.md before your AI coding agent reads it

Linting a DESIGN.md before your AI coding agent reads it

Comments
4 min read
Reading a Cloudinary URL on nike.com: presets, f_auto and the grey underlay

Reading a Cloudinary URL on nike.com: presets, f_auto and the grey underlay

Comments 1
4 min read
What type scale is a site really using? Measuring it from computed font sizes

What type scale is a site really using? Measuring it from computed font sizes

1
Comments
4 min read
When you can't edit the size in an image URL: signed variants on itch.io and Flickr

When you can't edit the size in an image URL: signed variants on itch.io and Flickr

Comments
4 min read
Checking a whole palette for WCAG contrast in 20 lines of JavaScript

Checking a whole palette for WCAG contrast in 20 lines of JavaScript

Comments
4 min read
How image CDNs hide the original: size tokens in URLs on Bluesky, Mercado Libre, Blogger, Steam and Google Play

How image CDNs hide the original: size tokens in URLs on Bluesky, Mercado Libre, Blogger, Steam and Google Play

Comments
6 min read
Finding the full-size original behind a thumbnail: srcset, CDN size rules and fallbacks

Finding the full-size original behind a thumbnail: srcset, CDN size rules and fallbacks

Comments
7 min read
Rebuilding a Tailwind v4 theme from an existing site

Rebuilding a Tailwind v4 theme from an existing site

Comments
3 min read
Converting WebP to JPG inside a Chrome extension: OffscreenCanvas in an MV3 offscreen document

Converting WebP to JPG inside a Chrome extension: OffscreenCanvas in an MV3 offscreen document

1
Comments
4 min read
loading...