title: Is it possible to retrieve the path of a Coldfusion image tag to directly link to the picture?
body: <p>I'm trying to use Coldfusions CFimage tag and <a href="http://www.photoswipe.com/" rel="nofollow">Photoswipe</a>.</p>
  
  <p>My problem is, Photoswipe requires images to be set up like this:</p>
  
  <pre><code>&lt;a class="swipeMe" rel="external" href="#myImage#"&gt;
     &lt;cfimage source="#myImage#" action="writeToBrowser" class="adaptImg ui-li-thumb"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>So I need the url for the link href and cfimage tag.</p>
  
  <p>If I parse this, the img source will be</p>
  
  <pre><code>src="/CFFileServlet/_cf_image/_cfimg5722874764512027443.PNG"
  </code></pre>
  
  <p>while the link href turns out to be:</p>
  
  <pre><code>href="coldfusion.image.Image@1adaa15"
  </code></pre>
  
  <p>Which breaks the photoswipe plugin, because the image can't be found.</p>
  
  <p><strong>Question</strong>:<br>
  Is there a way in Coldfusion8 to display the actual image path in the href, so the image can be linked to? </p>
  
  <p>Thanks for help!</p>