fix of error: undefined method for nil:NilClass
Merge pull request #18 from szabolcsbalogh/images_fix

Images fix