fanningert / kirbycms-extension-image

KirbyCMS Extension - Image Extended
http://www.fanninger.at/thomas/works/kirbycms-extension-image
GNU General Public License v3.0
28 stars 2 forks source link

water stamp support #6

Open fanningert opened 9 years ago

fanningert commented 9 years ago

Insert watermark on every image.

Define the watermark image

c::set('kirby.extension.imageext.watermark','.../watermark.png'); // Default is false
(imageext: picture.jpg watermark: watermark.png)
fanningert commented 9 years ago

Extra feature for watermark: Position of watermark.

Examples:

(imageext: picture.jpg watermark: watermark.png top: 0px left: 0px)
(imageext: picture.jpg watermark: watermark.png bottom: 0px right: 0px)
(imageext: picture.jpg watermark: watermark.png h-align: left v-align: top)
(imageext: picture.jpg watermark: watermark.png h-align: center v-align: middle)
(imageext: picture.jpg watermark: watermark.png h-align: right v-align: bottom)
fanningert commented 9 years ago

Opacity of the watermark 0-100%

Examples:

(imageext: picture.jpg watermark: watermark.png opacity: 25) // 25%
(imageext: picture.jpg watermark: watermark.png opacity: 50) // 50%
(imageext: picture.jpg watermark: watermark.png opacity: 75) // 75%
mwo44 commented 7 years ago

Hi, I'm wondering if this feature is available, if it can be used for uploaded images on the template file level? Thanks in advance