CMS: IMG label usage instructions

Source: Internet
Author: User

<CMS: img> This function is used to zoom in or out an image. The usage instructions are as follows:
<CMS: img> application instance:
......
<CMS: contentload...>
<CMS: IMG width = "100" Height = "75" border = "0" scalecolor = "cccccc" scalefilter = "shadow" alt = "文 ">
<CMS: Param name = "src">
<CMS: contentshow element = "pictureelement"/>
</CMS: param>
</CMS: img>
</CMS: contentload>
......

Cms img label description: scalecolor: The scaled background color of the image. The value is the color value, for example, cccccc.

Scalefilter: the CSS Filter for the background after image scaling. Its value is the supported filter values, such as shadow and grayscale. Height: scaled Image Height scaleposition: scaled Image Location scalequality: Save quality of the scaled image. The value ranges from 0 to. scalerendermode: Scaling rendering mode.

The value is: {@ link simapi # render_quality} (default) the best image scaling processing. This mode takes more time to scale {@ link simapi # render_speed} the fastest image scaling processing, after scaling in this mode, the image quality difference {@ link simapi # render_medium} uses the default rendering mode in JVM. This mode is not recommended, because it is the same as the {@ link simapi # render_quality} mode, slow SRC: Image urlscaletype: Image Scaling type width: Image scaled width

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.