How to replace including <img> tags

Im using below snippet in my blogger."img"), img => img.src);

I get output of image src like :-

enter image description here

It work get my all image in my post. But Facing issue s1600

I need to change s1600 to s320 it by or any other string

Read more here:

Content Attribution

This content was originally published by shafeek at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: