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

new breakpoints feature #194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

migliori
Copy link

@migliori migliori commented Apr 8, 2016

Hi,

I saw you consider Adaptative images as an old project, but in my opinion it's not !
html5 new features with srcset constrain to manually create images, whereas Adaptative images does all the job.

I just wanted to be able to deal with images layout, and create for example half-size images for large screens, and full size for smaller.

I added this feature, users just have to name their images using breakpoints and percent width.
For example, if you want an image to be 30% width for medium screens and large screens, you'll name your image 'my-image-md-30.jpg'.

4 Breakpoints can be defined by user (xs, sm, md, lg) and percent with can be any.

I hope this can be useful for you and others users.


  • switch code to PSR2 Standard
  • add default timezone
  • new feature: use breakpoints for non-full-width images to match served images with images layouts

- add default timezone
- new feature: use breakpoints for non-full-width images to match served images with images layouts
- add debug to log actions in text file
- add script replacement to test with browser with instead of window
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

Successfully merging this pull request may close these issues.

2 participants