Update Photo.php
This commit is contained in:
parent
75b11acab3
commit
aec2596f85
@ -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) {
|
||||
|
||||
@ -1263,4 +1263,4 @@ final class Photo {
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user