title: Link tumblr photos on theme to permalink page?
body: <p>My tumblr theme currently when you click on picutres just shows a bigger version of the picture itself, however I want the page to link to the permalink page instead.</p>
  
  <pre><code>{block:Photo}
  &lt;div class="tumblrset"&gt;
    &lt;div class="tumblrset-photo-frame" data-height="{PhotoHeight-HighRes}" data-width="{PhotoWidth-HighRes}"&gt;
      &lt;a class="tumblrset-photo-wrap" href="{PhotoURL-HighRes}" rel="{PostID}"&gt;
        &lt;img alt="{PhotoAlt}" class="tumblrset-photo" data-highres="{PhotoURL-HighRes}" src="{PhotoURL-250}"/&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  {block:Photo}
  </code></pre>