This typically happens if the files (ie pictures) originated from a Windows host.  I’ve found it’s much easier to just remove the spaces in the files than to deal with trying to properly quote your escapes in your loops.  

All words only.

All words and digits

Sometimes piping to less on each is helpful depending on how big your file is.