Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Silverstripe Responsive Images module - Config

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 160 Views
  • Harley
    Avatar
    Community Member
    153 Posts

    Silverstripe Responsive Images module - Config Link to this post

    Hi there,

    Been having a look at this module https://github.com/heyday/silverstripe-responsive-images and love the idea. However after going through the instructions nothing seems to be happening.

    Am I right in assuming that when inserting an image it should give me the option of uploading different versions as per _config.yml

    like this:

    ResponsiveSet2:
    method: CroppedImage
    sizes:
    - {query: "(min-width: 400px)", size: 300x300}
    - {query: "(min-width: 400px) and (min-device-pixel-ratio: 2.0)", size: 600x600}
    - {query: "(min-width: 800px)", size: 700x700}
    - {query: "(min-width: 800px) and (min-device-pixel-ratio: 2.0)", size: 1400x1400}
    - {query: "(min-width: 1000px)", size: 900x900}
    - {query: "(min-width: 1000px) and (min-device-pixel-ratio: 2.0)", size: 1800x1800}

    I can't put my finger on what is wrong but it must only be something simple I'm sure

    Regards

    160 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.