• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SES URL without referencing .cfm file

New Here ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

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!
TOPICS
Advanced techniques

Views

307

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

LATEST
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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation