forked from friendica/friendica-addons
Use separate album and repair dox for ces
This commit is contained in:
parent
ae6ea65ae2
commit
e3488aab75
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue