not sure if this is possible but we have a lots of products being forced to load at specific size & quality and I want to replace the below from the img src code:
&wid=128&hei=144&qlt=80
with:
&wid=256&hei=288&qlt=100
I've tried using something I've used before to replace a complete img src link:
$('img[src="https://images/image1&qlt=80&w=300&h=364&v=1"]').attr('src','https://images/image2&qlt=80&w=300&h=364&v=1');
But it doesn't work on part of an img src:
$('img[src="&wid=128&hei=144&qlt=80"]').attr('src','&wid=256&hei=288&qlt=100');
Because we have lots of images which are going to change alot I can't use my original method of replacing the whole img src, Is there a way of replacing this specific bit of code with jquery?
Thanks Michael
Thanks