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

ThinkPHP automatically adds 'responsive' watermarks to uploaded images

WBOY
Release: 2016-10-22 23:59:56
Original
1838 people have browsed it

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/

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template