Active
Project:
Imagecache Effects
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2009 at 12:35 UTC
Updated:
12 Jan 2009 at 00:08 UTC
If I define negative values for the watermark the watermark doe's not position in the bottom right, but will position at an negative position of the position 0.
The value right and bottom works fine, but not negative integer.
Comments
Comment #1
evil_marty commentedthe position follows the same behavior as the CSS property background-position. I'm still undecided as to whether negative values should position the element from the opposite side.
Comment #2
dman commentedFYI
Over in imagecache_actions we resolve positioning by allowing a syntax that includes "right-20" or "bottom-10" that (tries to) gives full control of this sort of issue.
"left+20" is equivalent to just "20" of course ...