diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-15 23:08:18 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-15 23:08:18 +0000 |
| commit | 92e6ed8a8a9baad24318299edbaa0da1236089ce (patch) | |
| tree | 9a4d6b30028400cda6244f8fa01e3739d5d6716f /modules/watermark/views | |
| parent | 2f8b4df0f564c883d7cdcf07936ce639b806a322 (diff) | |
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
Diffstat (limited to 'modules/watermark/views')
| -rw-r--r-- | modules/watermark/views/watermark_position.html.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/watermark/views/watermark_position.html.php b/modules/watermark/views/watermark_position.html.php index 566ee57b..af824ed1 100644 --- a/modules/watermark/views/watermark_position.html.php +++ b/modules/watermark/views/watermark_position.html.php @@ -1,7 +1,16 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gWatermarkAdmin"> <div id="gTargetImage" class="droppable"> + <img src="<?= $sample_image ?>"></img> </div> - <div id="gWaterMark" class="draggable"> + <div id="gWaterMark"> + <!-- This style and div is only temporary --> + <div style="background-color: #cccccc;"> + <img src="<?= $watermark_image ?>" class="draggable" + width="<?= $watermark_width ?>" height="<?= $watermark_height ?>" /> + </div> + </div> + <div id="gWatermarkPostionForm" > + <?= $watermark_position_form ?> </div> </div>
\ No newline at end of file |
