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

Serve images based on column width #180

Closed
bsadecki opened this issue Mar 18, 2015 · 1 comment
Closed

Serve images based on column width #180

bsadecki opened this issue Mar 18, 2015 · 1 comment

Comments

@bsadecki
Copy link

I'm building a site with BootStrap where the desktop viewport serves ~200px wide thumbnails because it's divided into three columns. Tablet and mobile serve full width images. So I need it to restrict by column size rather than screen resolution.

I noticed that @kollinger created this pull which uses BootStrap 2 but I'm not really sure about its implementation. It looks like it relies on the span element being used in the filename? And that's not an option.

Anyway, this is a great tool but is it just not the right one for this task?

@MattWilcox
Copy link
Owner

This isn't the right project for that task, unless you want to try the modified version. Likely you should be trying out the new srcset and sizes properties on a regular img tag for that use case.

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

2 participants