I have an image added in the backoffice. I wish to call this image to get its properties (url, alt text) in a JSP page. So the idea i had is to try get this image in a controller so i can pass theses properties on my page.
This image is currently a SimpleBannerComponent which is a subcomponent defined in a component.
<attribute qualifier="checkimage" type="SimpleBannerComponent"
generate="true" autocreate="true">
<persistence type="property" />
<modifiers />
<description>Check image pictogram component to be displayed.</description>
</attribute>
Do you know how i can do this? How do you load medias as SimpleBannerComponent by code so i can pass this data to the JSP page.
Thanks!