add get image failed callback
Merge pull request #5 from camge/master

add get image failed callback