'contributor' => 'contributor',
'collection' => 'collection',
'page-progression' => 'pageProgression',
+ 'ppi' => 'ppi',
);
var $metaDefaults = array(
function imageFilePath($leafNum, $subPrefix, $format) {
$pathParts = pathinfo($subPrefix);
- $almostIdentifier = $pathParts['filename'];
+ $almostIdentifier = $pathParts['basename'];
return sprintf("%s_%s/%s_%04d.%s", $almostIdentifier, $format, $almostIdentifier, intval($leafNum), $format);
}