diff --git a/include/diaspora.php b/include/diaspora.php
index 94c6ccfb8d..3b4832e74f 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -2290,7 +2290,7 @@ class diaspora {
$body = "[img]".unxmlify($photo->remote_photo_path).
unxmlify($photo->remote_photo_name)."[/img]\n".$body;
- $datarray["object-type"] = ACTIVITY_OBJ_PHOTO;
+ $datarray["object-type"] = ACTIVITY_OBJ_IMAGE;
} else {
$datarray["object-type"] = ACTIVITY_OBJ_NOTE;
diff --git a/include/like.php b/include/like.php
index 8223cf3626..b04b9b4e09 100644
--- a/include/like.php
+++ b/include/like.php
@@ -164,7 +164,7 @@ function do_like($item_id, $verb) {
$post_type = (($item['resource-id']) ? t('photo') : t('status'));
if($item['object-type'] === ACTIVITY_OBJ_EVENT)
$post_type = t('event');
- $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+ $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
$link = xmlify('' . "\n") ;
$body = $item['body'];
diff --git a/mod/photos.php b/mod/photos.php
index 5b402746a9..c60f8dd496 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -681,7 +681,7 @@ function photos_post(&$a) {
$arr['visible'] = 1;
$arr['verb'] = ACTIVITY_TAG;
$arr['object-type'] = ACTIVITY_OBJ_PERSON;
- $arr['target-type'] = ACTIVITY_OBJ_PHOTO;
+ $arr['target-type'] = ACTIVITY_OBJ_IMAGE;
$arr['tag'] = $tagged[4];
$arr['inform'] = $tagged[2];
$arr['origin'] = 1;
@@ -694,7 +694,7 @@ function photos_post(&$a) {
$arr['object'] .= xmlify('' . "\n");
$arr['object'] .= '' . "\n";
- $arr['target'] = '' . ACTIVITY_OBJ_PHOTO . '' . $p[0]['desc'] . ''
+ $arr['target'] = '' . ACTIVITY_OBJ_IMAGE . '' . $p[0]['desc'] . ''
. App::get_baseurl() . '/photos/' . $owner_record['nickname'] . '/image/' . $p[0]['resource-id'] . '';
$arr['target'] .= '' . xmlify('' . "\n" . '') . '';
diff --git a/mod/subthread.php b/mod/subthread.php
index 7e2632c687..81cb1fcc11 100644
--- a/mod/subthread.php
+++ b/mod/subthread.php
@@ -86,7 +86,7 @@ function subthread_content(&$a) {
$uri = item_new_uri($a->get_hostname(),$owner_uid);
$post_type = (($item['resource-id']) ? t('photo') : t('status'));
- $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+ $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
$link = xmlify('' . "\n") ;
$body = $item['body'];
diff --git a/mod/tagger.php b/mod/tagger.php
index d44288ef0a..4055edddbd 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -60,7 +60,7 @@ function tagger_content(&$a) {
$uri = item_new_uri($a->get_hostname(),$owner_uid);
$xterm = xmlify($term);
$post_type = (($item['resource-id']) ? t('photo') : t('status'));
- $targettype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+ $targettype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
$link = xmlify('' . "\n") ;