![JAR search and dependency download from the Maven repository](/logo.png)
mgnl-files.templates.samples-media.paragraph-mediael.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openutils-mgnlmedia Show documentation
Show all versions of openutils-mgnlmedia Show documentation
Magnolia SimpleMedia Module: a module for Magnolia CMS for easier management multimedia assets.
Original image
media:url(mediaNode)
100x100: resize image in order to contain required resolution
(100x100) and crop outfitting simmetric bands. Resulting image has the
required resolution.
media:urlres(mediaNode, '100x100')
L100x100: resize image in order to fit into required
resolution. Resulting image should have one side smaller than required
resolution.
media:urlres(mediaNode, 'l100x100')
o100x100: resize image in order to fit into required
resolution and fills empty bands with background color (default =
White). Resulting image has the required resolution.
media:urlres(mediaNode, 'o100x100')
With background color
media:urlres(mediaNode, 'o100x100;background=FF0000')
n100x100: resize image in order to contain the required
resolution. Resulting image should have one side bigger than required
resolution.
media:urlres(mediaNode, 'n100x100')
Passing parameters: resolution string supports optional
parameters that may enable post processing.
Adding parameter bw will make the image in grayscale
media:urlres(mediaNode, 'n100x100;bw')
© 2015 - 2025 Weber Informatics LLC | Privacy Policy