hansemann
(Hans .)
1
Hi.
Is there a function/eel-helper/something to access the title, caption, copyright-notice, tag, … from the media-repository within fusion?
I’d like to replace the alternative text from an image with the title (or caption) if not set in the inspector.
Would like to hear some hints and ideas. Thanks alot!
Best, H.
sebobo
(Sebastian Helzle)
2
Hi,
The image/asset reference you can access in Fusion should have those properties. So you can do image.title
or image.caption
to get the values.
1 Like
sebobo
(Sebastian Helzle)
3
Hi @hansemann, if the solution worked, please prefix the topic with [Solved]
hansemann
(Hans .)
4
thx & did it and came up with the following lines of fusioncode:
image = ${q(node).property('image')}
imageAlt = ${String.isBlank( q(node).property('alternativeText') ) ? this.image.title : q(node).property('alternativeText')}
to solve the lazyness. (caption, title and copyrightNotice are avaiable as string)
But where did I missed the documentation? And how do I deal with the tag-Array also provided 