Today, the wind network will target the {Dede:field http://www.aliyun.com/zixun/aggregation/11696.html ">name= ' image"} in Dedecms The label controls the size of the picture to teach you how to set it.
The method of controlling picture size is usually controlled by CSS, but we would prefer to modify the code implementation in the template tag:
Plus onload= "javascript:if (this.width>400) this.style.width=400;" can picture size. More than 400 shows only 400, and less than 400 shows the actual picture size.
The disadvantage of this approach is that each picture is width=400, and the display of some pictures may affect the page effect.
You can choose to use according to your own needs.
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.