Prevent exception on usage reports, file extension fallbacks
BUGFIXES
- If no URL to where a file is used can be generated during usage reporting, an empty string will be used. This fixes an issue where adding an image to a record on a page outside of a site or within a folder would throw an exception, for example when adding an image to a frontend user.
- Introduces configuration option
qbankBrowserAllowed
, a comma-separated list of file extensions similar to TYPO3 core'selementBrowserAllowed
. If this option is not set,elementBrowserAllowed
will be used. (See TCA Reference) - Allowed image extensions falls back to the default image extensions (
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
) ifqbankBrowserAllowed
orelementBrowserAllowed
is not set. - The "Use media from QBank" selector button is hidden if access token has not been set. This is instead of an exception.