aboutsummaryrefslogtreecommitdiff
path: root/lib/resize.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resize.php')
-rw-r--r--lib/resize.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/resize.php b/lib/resize.php
index 9f4ecd4bc..7885a52df 100644
--- a/lib/resize.php
+++ b/lib/resize.php
@@ -28,6 +28,8 @@
$image_sizes = unserialize($image_sizes);
$thumb = new ElggFile();
+ $thumb->owner_guid = $file->owner_guid;
+ $thumb->container_guid = $file->container_guid;
// tiny thumbail
$thumb->setFilename($prefix."thumb".$filestorename);
@@ -221,7 +223,8 @@
$image_sizes = unserialize($image_sizes);
$thumb = new ElggFile();
-
+ $thumb->owner_guid = $file->owner_guid;
+ $thumb->container_guid = $file->container_guid;
// tiny thumbnail
$thumb->setFilename($prefix."thumb".$filestorename);
@@ -392,7 +395,8 @@
$image_sizes = unserialize($image_sizes);
$thumb = new ElggFile();
-
+ $thumb->owner_guid = $file->owner_guid;
+ $thumb->container_guid = $file->container_guid;
// tiny thumbnail
$thumb->setFilename($prefix."thumb".$filestorename);