lochmueller / focuspoint

🌅 Smartest TYPO3 Crop Tool ever 🌅
http://typo3.org/extensions/repository/view/focuspoint
22 stars 23 forks source link

getCroppedImageSrcBySrc throws type error if file doesn't exist #66

Closed jagodzinski closed 5 years ago

jagodzinski commented 5 years ago

Hi,

I get following error when a file isn't available: TypeError Return value of HDNET\Focuspoint\Service\FocusCropService::getCroppedImageSrcBySrc() must be of the type string, null returned

TYPO3 9.5 focuspoint master (d146079496bb76f9a63d3a049aef17673120d3e4)

lochmueller commented 5 years ago

Hey @jagodzinski . Thanks for the report. Fixed in current master. Regards. Tim

jagodzinski commented 5 years ago

Thank you!