Skip to content

Alt & title arguments of the media viewhelper are not respected #34

@tilman82

Description

@tilman82

Hi,

it seems that the alt and the title arguments of the media viewhelper are totally ignored in the rendered image tags. We use the extension in a multilanguage project, here the title and alt of the root language is used, no matter what's written in the viewhelper.

I think of two possible solutions:

  • Add title and alt to the $genericTagAttributes in ImageRendererConfiguration,
  • or read them directly from the $options in the buildImageTag function...

In both cases it's not needed anymore to get the properties from the FileInterface...

What do you think?

Bregs
Tilman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions