Fórum

Image Object in Freemarker Template Liferay 7

thumbnail
Marco Endres, modificado 7 Anos atrás.

Image Object in Freemarker Template Liferay 7

Regular Member Postagens: 112 Data de Entrada: 22/08/12 Postagens Recentes
Hello

I'm using the Image uploader in the structure. Is there an easy way to get the Image Object itself in a Freemarker Template? I only can get the URL via ${image.getData()}, but not the Object itself. In the end I want the width from the Image to decide which Image I want to use.

Thank you

Marco Endres