aryehraber / statamic-responsive-img

Statamic v2 Addon that automatically handles responsive images using srcset.
MIT License
12 stars 1 forks source link

FR: Add Glide Parameters #7

Open aerni opened 5 years ago

aerni commented 5 years ago

It would be amazing to have access to the glide parameters. The most common use in my case would be to set the width and height of a picture and use the Statamic focal point feature.

As well it would be amazing to have presets (similar to the glide presets) where you could set everything from width, crop, quality, scaling-rate etc.

aryehraber commented 5 years ago

Yeah I totally agree, this was a bit of an oversight tbh... Adding to FR list 😊

sxdj commented 5 years ago

Would also be awesome if the original filename could be retained, as being important for SEO.

Though it's no explicit Glide param, a filename can optionally be supplied after the path element (according to https://github.com/peda/statamic-glide-vanity-url)

Thanks for considering!

tobiasvielmetter commented 5 years ago

Is this something that is planned or should we not wait for it? I might otherwise looking into solving this by myself, but can't guarantee that I will be able to deliver a PR.