[refactored] value of photo will be checked if can be transformed into
an URL
Merge pull request #130 from davidmoebius/OSNG-321

[refactored] value of photo will be checked if can be transformed into