diff --git a/src/plugins/vue-imgix/ix-img.tsx b/src/plugins/vue-imgix/ix-img.tsx index dbc648f2..dca9a0b2 100644 --- a/src/plugins/vue-imgix/ix-img.tsx +++ b/src/plugins/vue-imgix/ix-img.tsx @@ -16,6 +16,7 @@ const IxImgProps = Vue.extend({ width: [String, Number], height: [String, Number], attributeConfig: Object, + disableVariableQuality: Boolean, }, }); @@ -41,10 +42,16 @@ export class IxImg extends IxImgProps { }), }; - const { src, srcset } = this.vueImgixSingleton.buildUrlObject(this.src, { - ...imgixParamsFromImgAttributes, - ...this.imgixParams, - }); + const { src, srcset } = this.vueImgixSingleton.buildUrlObject( + this.src, + { + ...imgixParamsFromImgAttributes, + ...this.imgixParams, + }, + { + disableVariableQuality: this.disableVariableQuality ?? false, + }, + ); const attributeConfig = { ...defaultAttributeMap,