title: How to access Django/Mezzanine gallery content in a different page template
body: <p>Can I access content from Mezzanine page gallery in a template I use for another page?</p>
  
  <p>For example I have a gallery page that shows a collection of images I have added in Django Admin to the "Media Library". The page works fine and shows all of the images I have selected for the page.</p>
  
  <p>The gallery page template has some code for displaying the images that looks something like...</p>
  
  <pre><code>{% with page.gallery.images.all as images %}
  {% for image in images %}
  &lt;li&gt;
      &lt;a class="thumbnail" rel="#image-{{ image.id }}" title="{{ image.description }}" href="{{ MEDIA_URL }}{{ image.file }}"&gt;
          &lt;img class="image-overlay-thumb" src="{{ MEDIA_URL }}{% thumbnail image.file 75 75 %}"&gt;
      &lt;/a&gt;
      &lt;div id="image-{{ image.id }}" class="image-overlay" style="display:none;"&gt;
          &lt;a href="#" class="image-overlay-prev"&gt;&amp;larr;&lt;/a&gt;
          &lt;a href="#" class="image-overlay-next"&gt;&amp;rarr;&lt;/a&gt;
          &lt;img class="image-overlay-full" src="{{ MEDIA_URL }}{% thumbnail image.file 0 600 %}"&gt;&lt;br&gt;
          &lt;p&gt;{{ image.description }}&lt;br&gt;{{ forloop.counter }} / {{ images|length }}&lt;/p&gt;
      &lt;/div&gt;
  &lt;/li&gt;
  {% endfor %}
  {% endwith %}
  </code></pre>
  
  <p>However, on a different page, I want to use those same images, in the same sequence within a list I'll use to drive a jQuery slideshow.</p>
  
  <p>Is there a way to use a template tag something like '{% with page.gallery.images.all as images %}' but make it point to the specific page that has the gallery images I want?</p>
  
  <p>Thanks in advance for any insight you can provide.</p>