We have recently migrated from SharePoint 2010 to SharePoint 2013. But After migration the images are now double encoded.
Example: the Image URL is
On My profile, space is getting encodedto %20 and making the URL
And on Web Part, system is fetching theimage URL from My Profile and again encoding % to %25 and making the URL as
https://abc.com/User%2520Photos/Profile%2520Pictures/mykft_kembh00_MThumb.jpg due to which the images are not coming on the webpart.
Resolution: I dint get the proper resolution, but the below approach fixed my issue
I added one Content Editor Web Part (You can also add Script editor web part) and wrote below script in the web part. This script is replacing the %2520 with%20, which fixed my issue and images started coming on the Site
var strNewString = $('#s4-workspace').html().replace(/\%2520/g,'%20');
Anuradha Sehgal (Happy Learning)