From ac23b394ccdad9f7f95cfa256f0094d1eebd5b22 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 18 May 2012 05:31:59 -0700 Subject: [PATCH] use photo relative to current instance url --- mod/directory.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod/directory.php b/mod/directory.php index d51d20bd..3a434f03 100755 --- a/mod/directory.php +++ b/mod/directory.php @@ -100,7 +100,9 @@ function directory_content(&$a) { '$mod' => '
' . t('Flag this entry') . '
', '$star' => (($rr['tags']) ? '
' : ''), '$profile-link' => zrl($rr['homepage']), - '$photo' => (($rr['photo']) ? $rr['photo'] : $a->get_baseurl() . '/photo/' . $rr['id']), + '$photo' => $a->get_baseurl() . '/photo/' . $rr['id'], + +// '$photo' => (($rr['photo']) ? $rr['photo'] : $a->get_baseurl() . '/photo/' . $rr['id']), '$alt-text' => $rr['name'] . ' ' . '(' . $rr['homepage'] . ')', '$name' => $rr['name'], '$pclass' => (($rr['comm']) ? ' group' : ''),