In the current release, 1.2.0, descriptions are not being extracted from image file names.
I think I’ve ftraced this to a bug in the GetMetaData function of nano_photos_provider2.json.class.php
At lines 948-950 we have:
if ($isImage) {
$filename = $this->file_ext_strip($filename);
}
As the file name has no extension by the point of the second if ($isImage) the preg_replace has the effect of removing the description entirely.
The solution is to remove the second test for $isImage and replace it with $oneItem->description = $this->CustomEncode($s[1]);
In the current release, 1.2.0, descriptions are not being extracted from image file names. I think I’ve ftraced this to a bug in the GetMetaData function of nano_photos_provider2.json.class.php At lines 948-950 we have:
And a lines 955-961 we have:
As the file name has no extension by the point of the second
if ($isImage)
the preg_replace has the effect of removing the description entirely. The solution is to remove the second test for$isImage
and replace it with$oneItem->description = $this->CustomEncode($s[1]);