How to add www to images?

Try with Velvet Blues Update URLs wordpress plugin.

I had used velvet blue update urls plugin many times while migrating wordpress site from one domain to another. please select attachment option in that.

Link For Velvet Blues Update URLs

enter image description here

Old Url Use “” & In new Url use “” & Check All the Options then your problem Fixed.