• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
watermarking and padding option

#1
[eluser]SneakyDave[/eluser]
This may be an issue for a lot of folks, but I'm not entirely sure what is causing it.

First, there's a typo on the Image Manipulation Class page:
http://ellislab.com/codeigniter/user-gui...e_lib.html

There is a reference to "$config['wm_padding'] = '20';"

In the list of "Watermarking Preferences", the parameter is labeled "padding", not "wm_padding".

I haven't had any good results with setting the wm_padding, so I set it at 0. If you set it to any other value, even 10 or 20 your watermark can be shifted right off the image.

If you're having problems with watermarks, try removing the wm_padding setting, or setting it to "0", and see if that resolves the immediate problem of the watermark not appearing.

Actually, I think the padding problem is related to where your watermark appears on your image. The top right position may not be as bad as the bottom left position.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.