Responsive images via attachment uploads

briansol

Well-known member
Much like avatars store with s/m/l size variants, would like to leverage a similar pattern for attachments to leverage responsive and viewport DPI sizing, ala https://cloudinary.com/documentation/responsive_images

Configurable options:
- break point sizes, at least 3, pre-configured for desktop, table, and mobile

Tools
- rebuild attachments in breakpoints sizes (and keep original)

Features
  • If images not rebuilt, and thus requested best size does not exist, handle gracefully with default image
  • s3 data connector hookable
  • create a hook/ability for addons to optimize all sizes as they are created (or, better, naively support resmush.it)
 
Last edited:
Upvote 6
Top