Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Topic closed
[archived] sab_wm_image - Watermark an image on the fly!
Notice: This thread is archived, this plugin is no longer available.
**********************************************************
http://www.bluecamel.org/?p=18
<code><txp:sab_wm_image src=“source_image.jpg” wmsrc=“watermark.gif” xpos=“right” ypos=“bottom” tmpdir=“img/zir/” pad=“5” /></code>
Reference
- src= – REQUIRED – The path to the source image. This can be a URL! Valid file types are GIFs, PNGs and JPEGs.
- wmsrc= – REQUIRED – The path to the image used for the watermarking. Because of the common use of transparency in a watermark image, valid types are GIFs and PNGs.
- xpos={left|center|right} – The horizontal position of the watermark. Defaults to center.
- ypos={top|center|bottom} – The horizontal position of the watermark. Defaults to center.
- tmpdir= – The temporary directory to store the image while it’s being displayed in the browser. This directory MUST be writable by your webserver (chmod 777)! If you have problems getting the to display and you don’t knwo what this means, ask! Defaults to “img/zir/”.
- pad= – The number of pixels to pad the side of the watermark. For example, specifying pad=“10”, xpos=“left” and ypos=“top”, the watermark will end up starting from 10 pixels away from the top-left edge. Defaults to 5
-Steve
Offline
Re: [archived] sab_wm_image - Watermark an image on the fly!
Thanks!
I will be out of town….leaving tonight for the <a href=“http://www.bahamas.com/bahamas/index.aspx”> a quick vacation</a>. I will crank this puppy up on Tuesday and give it a whirl. I did get an install of Gallery up today after your post. First I has to get imagemagick running on the server. A bit of a bear on 1and1. But this is definitely more what I was looking for. Now for batch uploading in txp:)
Jamie
Offline
#3 2005-12-23 21:28:59
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [archived] sab_wm_image - Watermark an image on the fly!
I can’t get at this plugin, something funky regarding permissions is going on at the author’s site. Does anyone have a copy or know of an alternate download location?
Offline
#4 2005-12-28 19:11:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [archived] sab_wm_image - Watermark an image on the fly!
Now the site and the plugin appears almost completely gone? :(
Offline
#5 2005-12-29 21:57:39
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [archived] sab_wm_image - Watermark an image on the fly!
Aha, found it.
Offline
Re: [archived] sab_wm_image - Watermark an image on the fly!
D’ga git it? I have a copy. :)
Sorry I didn’t see your post yesterday….
Offline
Re: [archived] sab_wm_image - Watermark an image on the fly!
Can someone provide an idea of how this works? Does this watermark all images on a site? Only images which specifiy an img src or…?
Offline
#8 2005-12-30 14:52:49
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [archived] sab_wm_image - Watermark an image on the fly!
Only images which specifiy an img src or…?
Yes, it only works for explicitly named images, but not for images inserted via Txp tags (article_image, image, thumbnail…).
Offline
Re: [archived] sab_wm_image - Watermark an image on the fly!
Hi.
I’m looking for this plugin “sab_wm_image” and as Mary said the author website is definitivly gone.
Cause I need to add some watermark on images, could somebody send me it?
Many tanks by advance :)
Cheers,
Last edited by Pat64 (2007-11-03 09:26:33)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Pages: 1
Topic closed