diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/forms/photos/album/sort.php | 2 | ||||
-rw-r--r-- | views/default/object/album/full.php | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/views/default/forms/photos/album/sort.php b/views/default/forms/photos/album/sort.php index 524112e0c..49bd016aa 100644 --- a/views/default/forms/photos/album/sort.php +++ b/views/default/forms/photos/album/sort.php @@ -21,7 +21,7 @@ echo '<ul id="tidypics-sort" class="elgg-gallery">'; foreach ($image_guids as $image_guid) { $image = get_entity($image_guid); $img = elgg_view('output/img', array( - 'src' => $image->getSrcURL(), + 'src' => $image->getIconURL(), )); echo "<li class=\"mam\" id=\"$image_guid\">$img</li>"; } diff --git a/views/default/object/album/full.php b/views/default/object/album/full.php index e350d2327..ceb8b97aa 100644 --- a/views/default/object/album/full.php +++ b/views/default/object/album/full.php @@ -48,9 +48,7 @@ if ($album->description) { 'class' => 'mbm', )); } -$body .= elgg_list_entities(array( - 'type' => 'object', - 'subtype' => 'image', +$body .= tidypics_list_photos(array( 'container_guid' => $album->getGUID(), 'limit' => 16, 'full_view' => false, |