You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jancbeck Would be useful if the plugin has the ability to pass an ignore parameter to not apply the srcset/responsive images behaviour. This would be especially useful if you have SVG images (where srcset doesn't make much sense), or image instances that are always meant to be high/uncompressed quality.
This could be done in multiple ways:
Adding an responsive-ignore: true parameter to the kirbytag: (image: company-logo.svg srcset-ignore: true)
Adding a config rule to ignore certain filetypes: c::set('responsiveimages.ignore-ext', array('svg', 'gif'))
@jancbeck Would be useful if the plugin has the ability to pass an
ignore
parameter to not apply the srcset/responsive images behaviour. This would be especially useful if you have SVG images (where srcset doesn't make much sense), or image instances that are always meant to be high/uncompressed quality.This could be done in multiple ways:
responsive-ignore: true
parameter to the kirbytag:(image: company-logo.svg srcset-ignore: true)
c::set('responsiveimages.ignore-ext', array('svg', 'gif'))
Suggested fix: #14
The text was updated successfully, but these errors were encountered: