<?php
echo $post_id; ?>" value="<?php
echo $nonce; ?>" />
<input type="hidden" id="imgedit-sizer-<?php
echo $post_id; ?>" value="<?php
echo $sizer; ?>" />
<input type="hidden" id="imgedit-history-<?php
echo $post_id; ?>" value="" />
<input type="hidden" id="imgedit-undone-<?php
echo $post_id; ?>" value="0" />
<input type="hidden" id="imgedit-selection-<?php
echo $post_id; ?>" value="" />
<input type="hidden" id="imgedit-x-<?php
echo $post_id; ?>" value="<?php
echo isset( $meta['width'
] ) ?
$meta['width'
] : 0; ?>" />
<input type="hidden" id="imgedit-y-<?php
echo $post_id; ?>" value="<?php
echo isset( $meta['height'
] ) ?
$meta['height'
] : 0; ?>" />
<div id="imgedit-crop-<?php
echo $post_id; ?>" class="imgedit-crop-wrap">
<div class="imgedit-crop-grid"></div>
<img id="image-preview-<?php
echo $post_id; ?>" onload="imageEdit.imgLoaded('<?php
echo $post_id; ?>')"
src="<?php
echo esc_url( admin_url( 'admin-ajax.php', 'relative'
) ) . '?action=imgedit-preview&_ajax_nonce=' .
$nonce . '&postid=' .
$post_id . '&rand=' .
rand( 1, 99999
); ?>" alt="" />
</div>
</div>
<div class="imgedit-settings">
<div class="imgedit-tool-active">
<div class="imgedit-group">
<div id="imgedit-scale" tabindex="-1" class="imgedit-group-controls">
<div class="imgedit-group-top">
<h2><?php
_e( 'Scale Image'
); ?></h2>
<button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);" aria-expanded="false"><span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */