Bug fix for data.photoset.owner null
A previous change (pull request #66) appears to have introduced a bug
for user based photos, while fixing a bug for set based photos. This now
uses data.photoset.owner when data.photoset exists, otherwise, reverts
Fix bug for square photos
When there was no minimum dimensions, and the photo was square, it would
not constrain to the size of the screen.
(This change may need to be added to the other cases of the if