nginx-image-filter-watermark
nginx-image-filter-watermark copied to clipboard
Patched image_filter module for Nginx with watermark ability
Configuration does not support writing in if statements? ./nginx -t : nginx: [emerg] "image_filter_watermark_width_from" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:44 nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
nginx 1.21.4 always i gor that error... Any ideas how to fix it? `nginx: [emerg] unknown directive "watermark" in /etc/nginx/sites-enabled/default:33`
Whether to support watermark text
content-type: image/webp This type of response cannot be watermarked.
Added function for gdImageStringFT print text on image with Font, color, size and position option I changed border settings on your file Y eg. "wdy = (int)dst->sy - watermark->sy; /*...
Usage: ` image_filter_watermark_relative_height 5; image_filter_watermark_relative_width 20; ` If image is vertical, height is in priority, if horizontal - vice versa.
This changes serve to reduce image by any single dimension value. Hidden dimension is implicitly calculated as current image size.
Add file for freebsd ports tree patch