use embed photos javascript widget to select existing photos for profile and cover photos

This commit is contained in:
zotlabs
2018-02-23 19:23:17 -08:00
parent 3dd64e7916
commit 2d91aed183
8 changed files with 233 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
} else {
json_return_and_die(array('errormsg' => 'Error retrieving resource ' . $resource_id, 'status' => false));
}
json_return_and_die(array('status' => true, 'photolink' => $photolink));
json_return_and_die(array('status' => true, 'photolink' => $photolink, 'resource_id' => $resource_id));
}
}