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
This commit is contained in:
Tim Almdal
2008-12-15 23:08:18 +00:00
parent 2f8b4df0f5
commit 92e6ed8a8a
6 changed files with 122 additions and 8 deletions
@@ -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>