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