benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
338 stars 205 forks source link

Auch filereferences ermöglichen #1484

Open subnoodle opened 6 months ago

subnoodle commented 6 months ago

Hello Benjamin, It would be great if the ViewHelper could handle a FileReference and a file path at this point. Background: I'm using a similar copy of the Partial Rendering/Image.html, and there I have "accidentally", or rather because it is a FileReference, specified a FileReference. It took me some time to find this. However, it's clear that the imageInfoViewHelper has only accepted strings as arguments so far.

https://github.com/benjaminkott/bootstrap_package/blob/6f3e3c2b95fa82171be970268626dbda79bbea81/Classes/ViewHelpers/Data/ImageInfoViewHelper.php#L67