From 3c07cadb170d9439b12fd79dba539998e05da774 Mon Sep 17 00:00:00 2001 From: Fly Man Date: Sat, 24 Feb 2018 00:52:41 +0100 Subject: [PATCH] Merge pull request #558 from electerious/develop * Allow photo titles up to 100 characters --- php/Modules/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Modules/Photo.php b/php/Modules/Photo.php index 653ab0a..22e90d2 100755 --- a/php/Modules/Photo.php +++ b/php/Modules/Photo.php @@ -208,7 +208,7 @@ final class Photo { $info = $this->getInfo($path); // Use title of file if IPTC title missing - if ($info['title']==='') $info['title'] = substr(basename($file['name'], $extension), 0, 30); + if ($info['title']==='') $info['title'] = substr(basename($file['name'], $extension), 0, 100); if ($exists===false) {