Fixed compatibility with Contao 3.2 for images