Home >php教程 >php手册 >ThinkPHP automatically adds 'responsive' watermarks to uploaded images

ThinkPHP automatically adds 'responsive' watermarks to uploaded images

WBOY
WBOYOriginal
2016-10-22 23:59:561831browse

The ThinkPHP extension automatically adds [responsive] watermarks to uploaded images. Give the standard style photo size, watermark size, and watermark position, loop through or add watermarks based on database field traversal, and calculate the appropriate watermark size and position based on the ratio

TPImageWater
The ThinkPHP extension automatically adds [responsive] watermarks to uploaded images. Give the standard style photo size, watermark size, and watermark position, loop through or add watermarks based on database field traversal, and calculate the appropriate watermark size and position based on the ratio
For detailed introduction, please link to:
ThinkPHP automatically adds "responsive" watermarks to uploaded images (file traversal part) http://www.ptbird.cn/thinkphp-image-water-file/

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