fixed bug, instructors can view photo in search page
fixed test cases for the changes. Added a new test case to cover the failure.
fixed a final bug in the test cases
merged latest master
[Issue2448] Cannot see photo in search results
Merge branch 'master' into Issue2463