CodeIgniter Forums

Full Version: Documentation typo - Image Lib
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]coolfactor[/eluser]
Quote:wm_vrt_offset
You may specify a vertical offset (in pixels) to apply to the watermark position. The offset normally moves the watermark to the right, except if you have your alignment set to "right" then your offset value will move the watermark toward the left of the image.
wm_hor_offset
You may specify a horizontal offset (in pixels) to apply to the watermark position. The offset normally moves the watermark down, except if you have your alignment set to "bottom" then your offset value will move the watermark toward the top of the image.

Image Lib docs here

These seem to be switched around. The "vertical" offset makes reference to left and right, whereas the "horizontal" offset makes reference to top and bottom.

Am I reading it wrong?

El Forum

[eluser]Sam Dark[/eluser]
Seems you are right.

El Forum

[eluser]Derek Allard[/eluser]
whoops. Fixed (I think)