Project

General

Profile

Task #2086

add rsponsive-images module to silverstripe? (provide different resolutions/differently cropped imaged depending on display size)

Added by Christian Lohmaier about 1 year ago. Updated 6 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
SilverStripe
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:
EasyHack
URL:

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.

History

#1 Updated by Jean Spiteri 6 months ago

  • Category changed from Webserver to SilverStripe

Also available in: Atom PDF