From 8ccd45aa77d290906fd42dcf5520a434303d4f68 Mon Sep 17 00:00:00 2001 From: Sem Date: Sat, 25 Feb 2012 01:38:29 +0100 Subject: Saving thumbnails in server and serving them secure. --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'start.php') diff --git a/start.php b/start.php index 4c29549eb..ff668f00c 100644 --- a/start.php +++ b/start.php @@ -255,7 +255,7 @@ function videolist_icon_url_override($hook, $type, $returnvalue, $params) { // tiny thumbnails are too small to be useful, so give a generic video icon if ($size != 'tiny' && isset($videolist_item->thumbnail)) { - return $videolist_item->thumbnail; + return elgg_get_site_url() . "mod/videolist/thumbnail.php?guid=" . $videolist_item->guid; } if (in_array($size, array('tiny', 'small', 'medium'))){ -- cgit v1.2.3