Use separate album and repair dox for ces

This commit is contained in:
Matthew Exon 2022-06-22 17:55:36 +01:00 committed by Matthew Exon
parent ae6ea65ae2
commit e3488aab75

View file

@ -797,7 +797,7 @@ function retriever_transform_images(&$item, $resource) {
$path = parse_url($resource['url'], PHP_URL_PATH); $path = parse_url($resource['url'], PHP_URL_PATH);
$parts = pathinfo($path); $parts = pathinfo($path);
$filename = $parts['filename'] . (array_key_exists('extension', $parts) ? '.' . $parts['extension'] : ''); $filename = $parts['filename'] . (array_key_exists('extension', $parts) ? '.' . $parts['extension'] : '');
$album = 'Wall Photos'; $album = 'Retriever';
$scale = 0; $scale = 0;
$desc = ''; // TODO: store alt text with resource when it's requested so we can fill this in $desc = ''; // TODO: store alt text with resource when it's requested so we can fill this in
Logger::debug('retriever_transform_images storing ' . strlen($data) . ' bytes type ' . $type . ': uid ' . $uid . ' cid ' . $cid . ' rid ' . $rid . ' filename ' . $filename . ' album ' . $album . ' scale ' . $scale . ' desc ' . $desc); Logger::debug('retriever_transform_images storing ' . strlen($data) . ' bytes type ' . $type . ': uid ' . $uid . ' cid ' . $cid . ' rid ' . $rid . ' filename ' . $filename . ' album ' . $album . ' scale ' . $scale . ' desc ' . $desc);