I have an URL:
https://papermusepress.scene7.com/is/image/papermusepress?layer=0&src=fxg{papermusepress/5x7Shape3?$Embed1_5x7Shape3=BBS_BM0V_011_00&**imageres=300**}&scl=1&fmt=png-alpha&qlt=90&extend=10,10,10,10&effect=-1&blendMode=mult&op_grow=3&op_blur=4&color=0,0,0,120
and I need to insert a &wid=800&hei=800 after imageres=300, so the resulting URL would be:
https://papermusepress.scene7.com/is/image/papermusepress?layer=0&src=fxg{papermusepress/5x7Shape3?$Embed1_5x7Shape3=BBS_BM0V_011_00&imageres=300&wid=800&hei=800}&scl=1&fmt=png-alpha&qlt=90&extend=10,10,10,10&effect=-1&blendMode=mult&op_grow=3&op_blur=4&color=0,0,0,120
What would be the simplest way to do this in jQuery? Thanks for any help :)
url = url.replace('imageres=300}', 'imageres=300&wid=800&hei=800}')?