Fix 404 problem when ImageUploadable has empty primary photo also added
correct JSONView for getPhotos