Uses of Class
org.opencms.loader.CmsImageScaler
Package
Description
The implementations of the core resource types for the VFS are located here.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Utility classes to be used for JSP pages.
Low-level functions to manage the loading of resources from the OpenCms VFS.
Contains the various "Galleries" which are available in the editors and widgets of the OpenCms Workplace.
-
Uses of CmsImageScaler in org.opencms.file.types
Modifier and TypeMethodDescriptionstatic CmsImageScaler
CmsResourceTypeImage.getDownScaler
(CmsObject cms, String rootPath) Returns the image downscaler to use when writing an image resource to the given root path.ModifierConstructorDescriptionCmsImageAdjuster
(byte[] content, String rootPath, List<CmsProperty> properties, CmsImageScaler downScaler) Creates a new image data container. -
Uses of CmsImageScaler in org.opencms.jsp
Modifier and TypeFieldDescriptionprotected CmsImageScaler
CmsJspImageScalerTagSupport.m_scaler
The given image scaler parameters.Modifier and TypeMethodDescriptionstatic CmsImageScaler
CmsJspTagImage.getScaler
(CmsImageScaler scaler, CmsImageScaler original, String scaleParam) Creates the images scaler used by this image tag.Modifier and TypeMethodDescriptionstatic CmsImageScaler
CmsJspTagImage.getScaler
(CmsImageScaler scaler, CmsImageScaler original, String scaleParam) Creates the images scaler used by this image tag.static String
CmsJspTagImage.imageTagAction
(String src, CmsImageScaler scaler, Map<String, String> attributes, boolean partialTag, boolean noDim, javax.servlet.ServletRequest req) Internal action method to create the tag content.static String
CmsJspTagImage.imageTagAction
(String src, CmsImageScaler scaler, Map<String, String> attributes, boolean partialTag, javax.servlet.ServletRequest req) Internal action method to create the tag content.static CmsJspImageBean
CmsJspTagScaleImage.imageTagAction
(CmsObject cms, String imageUri, CmsImageScaler targetScaler, List<String> hiDpiVariantList) Internal action method to create the scaled image bean.Returns the HTML for an<img src="..." />
tag that includes the given image scaling parameters.CmsJspActionElement.img
(String target, CmsImageScaler scaler, Map<String, String> attributes, boolean partialTag) Returns the HTML for an<img src="..." />
tag that includes the given image scaling parameters. -
Uses of CmsImageScaler in org.opencms.jsp.util
Modifier and TypeMethodDescriptionprotected static CmsImageScaler
CmsJspImageBean.createVariation
(int originalWidth, int originalHeight, CmsImageScaler baseScaler, int targetWidth, int targetHeight, int quality) Create a variation scaler fir this image.protected CmsImageScaler
CmsJspImageBean.getBaseScaler()
Sets the scaler that describes the basic adjustments (usually cropping) that have been set on the original image.protected CmsImageScaler
CmsJspImageBean.getOriginalScaler()
Returns the image scaler that describes the original proportions of this image.CmsJspImageBean.getScaler()
Returns the image scaler that is used for the scaled version of this image bean.Modifier and TypeMethodDescriptionprotected static CmsImageScaler
CmsJspImageBean.createVariation
(int originalWidth, int originalHeight, CmsImageScaler baseScaler, int targetWidth, int targetHeight, int quality) Create a variation scaler fir this image.protected CmsJspImageBean
CmsJspImageBean.createVariation
(CmsImageScaler targetScaler) Returns a variation of the current image scaled with the given scaler.protected void
CmsJspImageBean.setBaseScaler
(CmsImageScaler baseScaler) Returns the scaler that describes the basic adjustments (usually cropping) that have been set on the original image.protected void
CmsJspImageBean.setOriginalScaler
(CmsImageScaler originalScaler) Sets the scaler that describes the original proportions of this image.protected void
CmsJspImageBean.setScaler
(CmsImageScaler scaler) Sets the image scaler that was used to create this image.ModifierConstructorDescriptionCmsJspImageBean
(CmsObject cms, String imageUri, CmsImageScaler initScaler) Initializes a new image bean based on a VFS input string and applies additional re-scaling. -
Uses of CmsImageScaler in org.opencms.loader
Modifier and TypeMethodDescriptionCmsImageScaler.getCropScaler
(CmsImageScaler target) Returns a new image scaler that is a cropped rescaler fromthis
cropped scaler size to the given target scaler size.CmsImageScaler.getDownScaler
(CmsImageScaler downScaler) Returns a new image scaler that is a down scale from the size ofthis
scaler to the given scaler size.CmsImageScaler.getReScaler
(CmsImageScaler target) Returns a new image scaler that is a rescaler fromthis
scaler size to the given target scaler size.CmsImageScaler.getWidthScaler
(CmsImageScaler downScaler) Returns a new image scaler that is a width based down scale from the size ofthis
scaler to the given scaler size.Modifier and TypeMethodDescriptionCmsImageScaler.getCropScaler
(CmsImageScaler target) Returns a new image scaler that is a cropped rescaler fromthis
cropped scaler size to the given target scaler size.CmsImageScaler.getDownScaler
(CmsImageScaler downScaler) Returns a new image scaler that is a down scale from the size ofthis
scaler to the given scaler size.CmsImageScaler.getReScaler
(CmsImageScaler target) Returns a new image scaler that is a rescaler fromthis
scaler size to the given target scaler size.protected CmsFile
CmsImageLoader.getScaledImage
(CmsObject cms, CmsResource resource, CmsImageScaler scaler) Returns a scaled version of the given OpenCms VFS image resource.CmsImageScaler.getWidthScaler
(CmsImageScaler downScaler) Returns a new image scaler that is a width based down scale from the size ofthis
scaler to the given scaler size.boolean
CmsImageScaler.isDownScaleRequired
(CmsImageScaler downScaler) Returnstrue
if this image scaler must be down scaled when compared to the given "down scale" image scaler.ModifierConstructorDescriptionCmsImageScaler
(CmsImageScaler base, int width, int height) Creates a new image scaler based on the given base scaler and the given width and height. -
Uses of CmsImageScaler in org.opencms.workplace.galleries
Modifier and TypeMethodDescriptionCmsAjaxImageGallery.getDefaultScaleParams()
Returns the default image scaling parameters for the gallery preview.