public function saveImageAjaxAction($parentId, $parentType)
    {
        $config = FileConfiguration::getImageConfig();
        return $this->saveFileAjaxAction(
            $parentId,
            $parentType,
            $config['objectType'],
            $config['validMimeTypes'],
            $config['extBlackList']
        );
    }
public function saveImageAjaxAction($parentId, $parentType)
    {
        $config = FileConfiguration::getImageConfig();
        return $this->saveFileAjaxAction(
            $parentId,
            $parentType,
            $config['objectType'],
            $config['validMimeTypes'],
            $config['extBlackList']
        );
    }
public function saveImageAjaxAction ( $ parentId , $ parentType ) { $ config = FileConfiguration :: getImageConfig ( ) ; return $ this -> saveFileAjaxAction ( $ parentId , $ parentType , $ config [ 'objectType' ] , $ config [ 'validMimeTypes' ] , $ config [ 'extBlackList' ] ) ; }
Manage how a image collection has to be saved

@param int    $parentId   Parent id owning images being saved
@param string $parentType Parent Type owning images being saved

@return Response
Manage how a image collection has to be saved