<?php $this->extend('block_unsearchable'); ?>

<?php $this->block('content'); ?>

  <div class="image_container"<?php if ($this->margin): ?> style="<?php echo $this->margin; ?>"<?php endif; ?>>

    <?php if ($this->href): ?>
      <a href="<?php echo $this->href; ?>"<?php if ($this->linkTitle): ?> title="<?php echo $this->linkTitle; ?>"<?php endif; ?><?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>">
    <?php endif; ?>

    <?php $this->insert('picture_default', $this->picture); ?>

    <?php if ($this->href): ?>
      </a>
    <?php endif; ?>

    <?php if ($this->caption): ?>
      <div class="caption"><?php echo $this->caption; ?></div>
    <?php endif; ?>

  </div>

<?php $this->endblock(); ?>
