Commit Graph

9 Commits

Author SHA1 Message Date
Tim Almdal
f8a0c91ce6 Drag & Drop the watermark now works and so does the dropdown box. The target image is divided into a 3x3 quadrant referenced as: northwest, north, northeast, west, center, east, southeast, south, southwest. Similiar to the imagemagik garvities. Currently the watermark is placed in the left top of the particular quadrant. 2008-12-17 01:26:40 +00:00
Bharat Mediratta
59bb72df88 Fix preamble 2008-12-16 23:11:24 +00:00
Tim Almdal
b0c21915e9 Oops, remove the () on the parameter to $("#Dialog").ready(...) so we pass the function, not the results of the function call. 2008-12-16 19:16:34 +00:00
Tim Almdal
c32988a097 Separate the handling of the dialog resizing into the watermark.js, so we don't have to download the watermark dialog initialization with each request. 2008-12-16 19:12:24 +00:00
Tim Almdal
59bc7dc22c 1) change the selector for the the function to gDialog
2) Once the dialog is resized, center it
2008-12-16 19:06:03 +00:00
Tim Almdal
04441e11cc 1) Remove the load watermark from the scaffolding... use the menu option
2) The set watermark dialog is now sizing properly.  @todo is recenter in the window
2008-12-16 17:30:18 +00:00
Tim Almdal
92e6ed8a8a Start of the dialog to specify the watermark placement. For convience, using the imagemagik nomicalture regarding watermark locations (east, west, center, etc.)
You can drag the watermark around but it doesn't stay in place.
Need to figure out how to resize the dialog box

and all of the supporting javascript
2008-12-15 23:08:18 +00:00
Tim Almdal
20d5f45218 Fix the reference to jquery-ui.packed.js 2008-12-15 06:37:56 +00:00
Tim Almdal
1cb0268589 Change the label on the watermark form upload element, so the error message is at least somewhat meaningful 2008-12-15 04:40:09 +00:00