sitegeist / sms-responsive-images

This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
GNU General Public License v2.0
34 stars 19 forks source link

Filereference error in v2 #67

Closed Xippo closed 4 years ago

Xippo commented 4 years ago

Hi Folks,

after the update on v2.0.1 the sms viewhelper fires errors if you try to render core or extbase Filereference Objects. In 1.3 it works fine.

Uncaught TYPO3 Exception: #1517766588: You must either specify a string src or a File object. | TYPO3Fluid\Fluid\Core\Exception thrown in file /xxx/typo3conf/ext/sms_responsive_images/Classes/ViewHelpers/ImageViewHelper.php in line 76.

s2b commented 4 years ago

Hi! Could you give me an example snippet? Also, which TYPO3 version are you using?

s2b commented 4 years ago

Well... I already have a hunch what's happening here. Could you try with v2.0.2 which I just released?

Xippo commented 4 years ago

Wow, that one was super fast reaction! It works like a charm. Thanks a lot for your work.