/**
     * @param PICTURE $obj
     * @access private
     */
    protected function _draw_box($obj)
    {
        /** @var ALBUM $folder */
        $folder = $obj->parent_folder();
        ?>
    <?php 
        $this->_url->replace_argument('id', $obj->id);
        if ($this->show_controls) {
            $this->_display_start_overlay_commands($obj);
        }
        ?>
    <div class="image-without-text">
      <a href="<?php 
        echo $this->_url->as_html();
        ?>
"><img src="<?php 
        echo $obj->full_thumbnail_name();
        ?>
" alt="Picture"></a>
    </div>
    <?php 
        if ($this->show_controls) {
            $this->_display_finish_overlay_commands();
        }
        ?>
    <h3>
      <?php 
        if ($this->show_folder) {
            echo $folder->title_as_link() . $this->app->display_options->object_separator;
        }
        echo $this->obj_link($obj);
        ?>
    </h3>
    <?php 
        if ($this->show_date) {
            ?>
      <p class="detail"><?php 
            echo $folder->format_date($obj->date);
            ?>
</p>
    <?php 
        }
        ?>
    <div class="text-flow multi-column-grid-description">
      <?php 
        $munger = $obj->html_formatter();
        $munger->max_visible_output_chars = $this->description_length;
        echo $obj->description_as_html($munger);
        ?>
    </div>
  <?php 
    }
    /**
     * Format the picture as HTML for printing or display.
     * @param PICTURE $entry
     * @access private
     */
    protected function _echo_picture_as_html($entry)
    {
        /** @var ALBUM $folder */
        $folder = $entry->parent_folder();
        $metrics = $entry->metrics();
        if ($metrics->loaded()) {
            ?>
  <div style="width: <?php 
            echo $metrics->width();
            ?>
px">
    <p>
      <?php 
            echo $folder->format_date($entry->date);
            ?>
    </p>
    <div class="text-flow">
      <?php 
            $this->_echo_html_description($entry);
            ?>
    </div>
    <div>
    <?php 
            if ($this->_options->show_interactive) {
                echo $metrics->as_html($entry->title_as_plain_text(), '');
            } else {
                echo $metrics->as_html_without_link($entry->title_as_plain_text());
            }
            ?>
    </div>
    <?php 
            if ($this->_options->show_interactive && $metrics->was_resized) {
                ?>
    <div class="subdued">
      Displayed at <?php 
                echo $metrics->constrained_width;
                ?>
 x <?php 
                echo $metrics->constrained_height;
                ?>
;
      click to show full-size (<?php 
                echo $metrics->original_width;
                ?>
 x <?php 
                echo $metrics->original_height;
                ?>
).
    </div>
    <?php 
            }
            $this->_echo_html_user_information($entry, 'info-box-bottom');
            ?>
  </div>
  <?php 
        } else {
            ?>
    <p>
      <?php 
            echo $folder->format_date($entry->date);
            ?>
    </p>
    <div class="text-flow">
      <?php 
            $this->_echo_html_description($entry);
            ?>
    </div>
      <?php 
            $this->context->show_message('[' . $metrics->url . '] could not be displayed.');
            $this->_echo_html_user_information($entry, 'info-box-bottom');
        }
    }