aboutsummaryrefslogtreecommitdiff
path: root/actions/photos
diff options
context:
space:
mode:
Diffstat (limited to 'actions/photos')
-rw-r--r--actions/photos/image/upload.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/photos/image/upload.php b/actions/photos/image/upload.php
index cb0a2f90d..2dd0959bf 100644
--- a/actions/photos/image/upload.php
+++ b/actions/photos/image/upload.php
@@ -53,6 +53,7 @@ foreach ($_FILES['images']['name'] as $index => $value) {
$mime = tp_upload_get_mimetype($data['name']);
$image = new TidypicsImage();
+ $image->title = $data['name'];
$image->container_guid = $album->getGUID();
$image->setMimeType($mime);
$image->access_id = $album->access_id;