misaelzapata/CodeIgniter-Inline-Images-Email — pull request #9 by johndekroon (2014-09-26 09:23:04+00:00)
Title: Fixed file matching bug

f['name'] becomes "i" which matched in my case all the inline images. The result was that all the images were replaced by the last image.
I renamed f['name'] to ft (FileTrimmed), now it should work just fine.