Neos.Neos/Classes/Controller/Backend/ContentController.php
public function imageWithMetadataAction(ImageInterface $image)
    {
        $this->response->setHeader('Content-Type', 'application/json');
        $imageProperties = $this->getImageInterfacePreviewData($image);

        return json_encode($imageProperties);
    }
public function imageWithMetadataAction(ImageInterface $image)
    {
        $this->response->setHeader('Content-Type', 'application/json');
        $imageProperties = $this->getImageInterfacePreviewData($image);

        return json_encode($imageProperties);
    }
public function imageWithMetadataAction ( ImageInterface $ image ) { $ this -> response -> setHeader ( 'Content-Type' , 'application/json' ) ; $ imageProperties = $ this -> getImageInterfacePreviewData ( $ image ) ; return json_encode ( $ imageProperties ) ; }
Fetch the metadata for a given image

@param ImageInterface $image

@return string JSON encoded response
Fetch the metadata for a given image