fix getting extension from photo
Merge branch 'hotfix/photo_error'
Add IDE hints
Merge branch 'hotfix/IDE_hints'