Skip to main content
Participant
August 23, 2006
Question

SES URL without referencing .cfm file

  • August 23, 2006
  • 1 reply
  • 342 views
I have a site that calls images dynamicly by passing the imgaes FileID and outputting the image content as
<cfcontent type="image/png; charset=8859_1">

The URL string for the image would look something like this:
<img src=" http://mysite.com/files/image.cfm?FILEID=232">

Im finding that my users are trying to reference these images for posting on their myspace pages, but myspace obviously does not allow the dynamic image, or even a call to a .cfm page.

I can clean this up a little with SES URLS, but this still leaves me with the following:
<img src=" http://mysite.com/files/image.cfm/FILEID/232">

and since its referencing .cfm, myspace still does not allow the image.

Is there any way to call this image safely, and still dynamicly?


THANKS IN ADVANCE!
This topic has been closed for replies.

1 reply

Participant
August 23, 2006
I thought maybe an Application.cfm file in the /files/ directory could solve this, but it appears that CF still thinks its in a deeper directory:

http://www.mysite.com/files/ID/157/

Thoughts?