Home >CMS Tutorial >PHPCMS >How to set phpcms thumbnails not to be automatically cropped

How to set phpcms thumbnails not to be automatically cropped

藏色散人
藏色散人Original
2020-02-05 11:12:112918browse

How to set phpcms thumbnails not to be automatically cropped

How to set phpcms thumbnails not to be automatically cropped

You need to change the calling tag:

{thumb($r[thumb],90,60)}

to:

{thumb($r[thumb],90,60,1)}

Default is 0.

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of How to set phpcms thumbnails not to be automatically cropped. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn