Task #2086
closedadd rsponsive-images module to silverstripe? (provide different resolutions/differently cropped imaged depending on display size)
0%
Description
There's a module for silverstripe that adds support for those in a pretty straightforward way:
https://packagist.org/packages/heyday/silverstripe-responsive-images
that way we could offer downscaled versions for mobile/small screens or also distinguish between high-dpi and low-dpi.
right now we're not using many images, and the only ones worth adjusting would be the carousel ones on the frontpage.
Since it also uses picture html element that lacks widespread browser support, we'd have to tweak it to use css background-image statements instead (and not use image tags, but e.g. divs as a workaround).
lowest prio, but easyHack level (some php, silverstripe templates and html/css knowledge required)
Alternatively: we can use hardocded way for our carousel only.
Updated by Jean Spiteri almost 7 years ago
- Category changed from Webserver to SilverStripe