[check-photos] Image grabber refactoring and improvement