Return 404 for nonexistent photo on mobiles
Added test to avoid regression
Merge pull request #4255 from netom/4194-mobile-photo-view

4194 mobile photo view