Adaptive-Images
Adaptive-Images copied to clipboard
new breakpoints feature
trafficstars
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