Hey
Is there a way to prepend neos.media:image ViewHelper to transform attribute-Names within data-property in lowercase?
I use in fluid-template:
<media:image image="{image}" class="{stringImgClass}" alt="{alternativeText}" title="{imgTitle}" width="{width}" maximumWidth="{maximumWidth}" height="{height}" maximumHeight="{maximumHeight}" allowUpScaling="{allowUpScaling}" additionalAttributes="{additionalAttributes}" data="{dataArray}" />`
Normally all works fine in different nodeTypes.
But now I have to supply a jquery-plugin within is required some data-attributes like:
... data-actionRenderingBefore="1" data-cacheImages ="0" />
Before the ViewHelper the ArrayKeys in {dataArray} are lowerCamelCased like they should for Plugin. After Neos-ViewHelper rendering, the Attributes-Name are lowercased:
... data-actionrenderingbefore="1" data-cacheimages ="0" />
With lowercase, the Plugin is overlooked the data-attributes …
Sorry – can’t find a solution: neither in readthedocs nor in NeosSourceCode for ViewHelper.
- How I get unchanged/not-lowercased Attribute-Names?