Feature #56639

Implement "getPrivateStorageUriByResource()" for recieving (image-) file URIs

Added by Jan Greth over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Must have
Assignee:
Category:
-
Start date:
2014-03-07
Due date:
% Done:

0%

PHP Version:
Has patch:
Complexity:

Description

As talked about on Flow Mailing List (Thread: [Flow] Extract image EXIF data for resource objects and resize image on upload See here)
on August 5th 2013 it would be really handy to have a $resourceManager->getPrivateStorageUriByResource($resource) method.

This is needed for processing imagefiles which are stored by TYPO3.Media Package by libraries/functions like exif_read_data() or with several imagemagick functions.

For getting the Exif information now the best way I found is like:

$exif_array = exif_read_data($this->resourceManager->getPersistentResourcesStorageBaseUri().$image->getResource()->getResourcePointer()->getHash(),'EXIF');

I think this is quite a bit overload and would be much nicer when we could use the API method Robert anounced in the thread mentioned above.

History

#1 Updated by Jan Greth over 5 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow

Also available in: Atom PDF