Files
gallery3/modules/watermark/views/watermark_position.html.php
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

16 lines
544 B
PHP

<? 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">
<!-- 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>