If the URL is being added correctly to all of the data-src
attributes then you’re having an issue with the script you’re using. You should look for possible javascript errors something else causing that script to fail.
If the attributes are not being populated correctly, make sure that the field you’re using is returning a url and not something else.