Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different sizes attribute per template / blueprint #9

Open
mrksbnch opened this issue Oct 20, 2016 · 0 comments
Open

Different sizes attribute per template / blueprint #9

mrksbnch opened this issue Oct 20, 2016 · 0 comments

Comments

@mrksbnch
Copy link

mrksbnch commented Oct 20, 2016

I'm not sure if I understand the "Sizes" section of the documentation correctly, but is there currently any way to set a different sizes attribute per template / blueprint?

I know that I could use different classes on my images, but editors might not know when to use which class name:

c::set('responsiveimages.sizes', array(
    'class-name' => array(
        'size_value' => '(min-width: XXpx) 33vw, (min-width: XXpx) 50vw, 100vw'
    ),
));

All other settings, that I could find, are more like general settings for every image, but the images on a project I'm working on have different widths for each template, e.g. they are shown in a multi-column layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant