Merge pull request #558 from electerious/develop

* Allow photo titles up to 100 characters
This commit is contained in:
Fly Man 2018-02-24 00:52:41 +01:00
parent 878ecd0e32
commit 3c07cadb17
No known key found for this signature in database
GPG Key ID: 2DDA5DB4F6486124

View File

@ -208,7 +208,7 @@ final class Photo {
$info = $this->getInfo($path); $info = $this->getInfo($path);
// Use title of file if IPTC title missing // 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) { if ($exists===false) {