jancbeck / kirby-responsive-images

Bring responsive images to Kirby CMS
66 stars 7 forks source link

Add small, medium, large as option for link attribute #4

Closed DenisLanz closed 8 years ago

DenisLanz commented 8 years ago

It would be nice to be able to link to the thumb created by the plugin in the link attribute similar to self like small, medium, large or just large.

Like this:

(image: file.jpg link: large)
jancbeck commented 8 years ago

Interesting idea, but when would you ever link to a file that is not the original or largest possible size?

DenisLanz commented 8 years ago

Think of editor who don't care about mobile user or don't know how to resize images and just upload a super large image that necessarily doesn't have to be that big.

jancbeck commented 8 years ago

Ok I get that, but as a visitor of the site wouldn't I want to have access to the image in the best possible quality? If an editor doesn't care about mobile users, why would they bother learning about the size keywords?

jancbeck commented 8 years ago

Thanks @Designscheu I just added this feature in 43e9c536e996c592fa600adfb4f973d31d625cf1