CodeIgniter Forums
Documentation typo - Image Lib - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Documentation typo - Image Lib (/thread-9731.html)



Documentation typo - Image Lib - El Forum - 07-07-2008

[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?


Documentation typo - Image Lib - El Forum - 07-07-2008

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


Documentation typo - Image Lib - El Forum - 07-10-2008

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