Merge pull request #558 from electerious/develop
* Allow photo titles up to 100 characters
This commit is contained in:
parent
878ecd0e32
commit
3c07cadb17
@ -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) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user