troubleshooting Question

check for existence of an image on another website and display if there

Avatar of semerj
semerj asked on
ColdFusion Language
3 Comments1 Solution674 ViewsLast Modified:
I am want to display images from the MLS on my website.Downloading all the images and then uploading them to my server is a waste of time. Each listing has a different # of photos. The only thing that changes is the subdirectory for each photo.

http://http://www.sancapmls.com/san/jpg2/mls_number.jpg
http://http://www.sancapmls.com/san/jpg3/mls_number.jpg

Is there a to check for the existence of the photo? I tried the following and obviously it was the incorrect approach:

<cfif FileExists("http://www.sancapmls.com/san/jpg2/#MLSNum#.jpg")>
            <img src="http://www.sancapmls.com/san/jpg2/#MLSNum#.jpg" />
</cfif>
ASKER CERTIFIED SOLUTION
gdemaria

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros