filamentgroup/Responsive-Images

varied width breakpoints

gosseti opened this issue · 1 comments

Would be great to have varied width breakpoints.

For instance, I have a header image I’d like to change at 768 and body images I’d like to change at 480.

Could perhaps add the value as an attribute or class to the image? If one isn’t found then it falls back on default (480 typically).

Nice idea. I think extending the query string parameters might be a good way to handle this. For example, /r-480x600/imgpath.jpg?full -gt460=lrgimgpath.jpg

Then the large image would only swap in if its param says it should