<?php global $wpalchemy_ma_optional_images; ?>

<div class="my_meta_control">

				<p><em>Optional images are displayed as a column next to the main content of a post or page.  Should be no more than 300 pixels wide.  Not displayed on small screens.</em></p>
 
 
    <?php while($mb->have_fields_and_multi('images')): ?>
    <?php $mb->the_group_open(); ?>
 
        <?php $mb->the_field('imgurl'); ?>
        <?php $wpalchemy_ma_optional_images->setGroupName('img-n'. $mb->get_the_index())->setInsertButtonLabel('Insert'); ?>

        <p>
            <?php echo $wpalchemy_ma_optional_images->getField(array('name' => $mb->get_the_name(), 'value' => $mb->get_the_value())); ?>
            <?php echo $wpalchemy_ma_optional_images->getButton(); ?>
		        <a href="#" class="dodelete button">Remove</a> 
        </p>
 
    <?php $mb->the_group_close(); ?>
    <?php endwhile; ?>
 
    <p style="margin-bottom:15px; padding-top:5px;"><a href="#" class="docopy-images button">Add More Images</a></p>
 
</div>