Example #1
0
</h4>
   			<?php 
} else {
    ?>
   			  <h4><?php 
    echo __('Select an image', null, 'apostrophe');
    ?>
</h4>
   			<?php 
}
?>
		
			</div>

  			<ul id="a-media-selection-list" style="min-height:<?php 
echo ($thumbHeight = aMediaTools::getSelectedThumbnailHeight()) ? $thumbHeight + 10 : 0;
?>
px;">
  			  <?php 
// Always include this, it brings in some of the relevant JS too
?>
					<?php 
include_partial("aMedia/multipleList", array("items" => $items));
?>
  			</ul>

      <?php 
a_js_call('apostrophe.mediaEnableSelectionSort(?)', url_for('aMedia/multipleOrder'));
?>
   		<div id="a-crop-workspace" class="a-crop-workspace">
  		  <ul id="a-media-selection-preview">