Richard Hensman wrote: >Still working on this image linking thing I posted about yesterday >though, if anyone has any more thoughts to share on that. > >I'm currently trying a CFHTTP to return the binary source of the image, >and using that in the img tag... But it's not working as expected. Any >other ideas? > > As James said yesterday, this is a web server problem that you need to deal with not a CF issue. There are settings in the Apache config files that can prevent linking to files unless its a given domain and I'm reasonably certain that there is an IIS solution as well.
You can get into using cfcontent to push the images from a secure area whilst doing some checking for appropriate session information etc etc, but if you've got a busy site then this is far from ideal. Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:880 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
