Typo3 12.4.10 compatibility
On Typo3 12.4.10 you get the error 'Typed property Codemonkey1988\ResponsiveImages\ViewHelpers\SourceViewHelper::$variantFactory must not be accessed before initialization'. This can be fixed by adding to the SourceViewHelper:
public function __construct()
{
parent::__construct();
$this->variantFactory = GeneralUtility::makeInstance(VariantFactory::class);
$this->attributeRenderer = GeneralUtility::makeInstance(AttributeRenderer::class);
}