From 6ef62a444fbcebea25cf475613d5cab0c43b58c8 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 1 Aug 2012 18:45:25 +0200 Subject: Added support for colorbox. --- views/default/river/object/album/create.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'views/default/river/object/album') diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php index c8c79f406..2269b2eb6 100644 --- a/views/default/river/object/album/create.php +++ b/views/default/river/object/album/create.php @@ -6,6 +6,10 @@ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 */ +elgg_load_css('lightbox'); +elgg_load_js('lightbox'); +elgg_load_js('tidypics'); + $album = $vars['item']->getObjectEntity(); $album_river_view = elgg_get_plugin_setting('album_river_view', 'tidypics'); @@ -18,10 +22,12 @@ if ($album_river_view == "cover") { $images = $album->getImages(7); if (count($images)) { - $attachments = '