diff options
Diffstat (limited to 'views/default/river/object/image/create.php')
-rw-r--r-- | views/default/river/object/image/create.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/views/default/river/object/image/create.php b/views/default/river/object/image/create.php index 44efa0c59..08cfdc550 100644 --- a/views/default/river/object/image/create.php +++ b/views/default/river/object/image/create.php @@ -1,6 +1,9 @@ <?php /** * Image album view + * + * @author Cash Costello + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 */ $subject = $vars['item']->getSubjectEntity(); @@ -12,10 +15,8 @@ $subject_link = elgg_view('output/url', array( )); $image = $vars['item']->getObjectEntity(); -$attachments = elgg_view('output/img', array( - 'src' => $image->getSrcUrl('thumb'), - 'class' => 'elgg-photo', -)); +$attachments = elgg_view_entity_icon($image, 'tiny'); + $image_link = elgg_view('output/url', array( 'href' => $image->getURL(), 'text' => $image->getTitle(), |