aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/object/image.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index d86f3ca46..d7b791a78 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -30,7 +30,7 @@ if ($photo_tags) {
$phototag_text = $photo_tag->value;
- $phototag_link = $vars['url'] . "word";
+ $phototag_link = $vars['url'] . 'search/?tag=' . $phototag_text . '&subtype=image&object=object';
if ($photo_tag->type === 'user') {
$user = get_entity($photo_tag->value);
if ($user)
@@ -38,7 +38,7 @@ if ($photo_tags) {
else
$phototag_text = "unknown user";
- $phototag_link = $vars['url'] . "user";
+ $phototag_link = $vars['url'] . "pg/photos/search/" . $photo_tag->value;
}
// hack to handle format of Pedro Prez's tags - ugh