Local images loading support
Extracted methods to keep it clean
Methods in the correct order
Merge pull request #106 from novoda/enableLocalImages

Local images loading support