img control by model
Merge pull request #5 from Lich2013/dev

img control by model