Closed Xendiadyon closed 7 years ago
Okay, Adding the copyright was rather easy, as I can set it outside of the $this->insert('picture_default', ...) routine.
But I still can't add an alt-Attribute, less a self-defined alt-Attribute
If you use $this->getImageObject()
, the alt text from the file manager should get applied automatically.
Good morning :)
We are using a Teaser-Box, where we can implement teaser images:
However, in Contao 4.4(.1), there is a new field "override Metadata" when adding images. In the actual configuration it is not possible to add or edit the Metadata.
Is there an easy way to implement the "override Metadata" field or automatically import the metadata from the file-manager?
I can get the Metadata out of the FilesModel But I have to check how I could pass the meta-Data to the
\Picture::create()
routine.