How to print $item separately, with different content, in views-view-grid? I am trying to create an image gallery, using Views 3 for Drupal 7. A brief overview of what I did:
- Create custom content type for photo gallery (title and image fields
- Create View for the gallery page
    - Set format to "Grid", and show to "Fields"
    - Added field: "Content: Photo" (preview image style)
    - Added field: "Content: Photo" (thumbnail image style)

As you can see, I have two fields with the same field so that I can have two differently sizes of each image. What I need to do, is print these images in two different places in my template. 

This is my views-view-grid--gallery.tpl.php:

&lt;table&gt;
  &lt;?php foreach ($rows as $row_number =&gt; $columns): ?&gt;
    &lt;tr&gt;
      &lt;?php foreach ($columns as $column_number =&gt; $item): ?&gt;
        &lt;td&gt;
          &lt;?php print $item; ?&gt;
        &lt;/td&gt;
      &lt;?php endforeach; ?&gt;
    &lt;/tr&gt;
  &lt;?php endforeach; ?&gt;
&lt;/table&gt;


I want to be able to do something like this: 

&lt;table&gt;
  &lt;tr&gt;
    &lt;?php // foreach ?&gt;
      &lt;td&gt;          
        &lt;?php // print preview image ?&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;div class="thumbnails"&gt;
  &lt;?php // foreach ?&gt;
    &lt;?php // print thumbnail image ?&gt;
&lt;/div&gt;


I have tried a multitude of things, but I can only make $item print either one of the images, or both of the images. Since only the final, HTML-formatted image is returned, I can't figure out how it is possible to split it up.

Thanks much in advance!
Anyone still looking for this, that's how I did it:

First I've created a simple view with a block to show just the fields that I needed on top (let's call it view-top), striped all default elements and classes to make it clean and easier to work (not really necessary to clean it). In OP's case would be the miniature for the gallery.

Then I've made my main view with the fields that I wanted on bottom (let's call it view-bottom). In OP's case would be the full sized images. In the header of this view I've added a "Global: Visualization area" and called my view-top.

This way I had two views, one embedded in the other, and with a bit of Drupal's behaviors I've made the click logic.