Project

General

Profile

Actions

Task #2086

closed

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

Added by Christian Lohmaier over 7 years ago. Updated over 1 year ago.

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

0%

Tags:
EasyHack

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.

Actions #1

Updated by Jean Spiteri over 6 years ago

  • Category changed from Webserver to SilverStripe
Actions #2

Updated by Beluga Beluga over 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF