From: Sem Date: Wed, 1 Aug 2012 19:35:51 +0000 (+0200) Subject: Added default title to images. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5c4f586fe21c6de249c239212d3e6e81ff47bcb9;p=lorea%2Felgg.git Added default title to images. --- 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;