Promptles
Frontend & Responsive Design

Responsive Images

intermediate

Definition

Offering several sizes of the same picture and letting the visitor's browser pick whichever one fits their screen best. A phone on a slow connection grabs a small lightweight version, while a wide retina laptop grabs a bigger crisp one. Same picture; right size every time.

In the wild

A travel blog has a beautiful 4K hero photo at the top of every article. A reader on a phone over cellular data downloads a small 400-pixel-wide version that looks great on their screen and barely uses any data. A reader on a fast desktop downloads the full 4K version. Both visitors are happy.

More from Frontend & Responsive Design