Re: hiding an image path

2006-07-24 Thread Ken Ferguson
That's what I keep saying, but it's like my posts are vanishing into the universe for all the, oh thanks Ferg, that's a fantastic idea posts that I'm not seeing come back. I finally decided I must be screaming it into the void where nobody was listening. * Ken Ferguson

Re: hiding an image path

2006-07-24 Thread Tom Chiverton
On Monday 24 July 2006 14:45, Ken Ferguson wrote: that I'm not seeing come back. I finally decided I must be screaming it into the void where nobody was listening. In the void, no one can hear you scream :-) -- Tom Chiverton, well, space didn't fit as well.

Re: hiding an image path

2006-07-24 Thread Ken Ferguson
Good point Tom, though I guess screaming it into the void where nobody WAS listening has the same result as the altogether more correct, screaming it into the void where nobody COULD listen. The point being that my screaming seemed to be wasted energy in that my message didn't appear to be

Re: hiding an image path

2006-07-22 Thread James Holmes
I know this is OT, but OMG, how cool is the WWBD shirt!? Sorry, you can continue with the thread now. On 7/22/06, Dave Lyons [EMAIL PROTECTED] wrote: Thanks for everyones answers, let me explain it more. Some of you know what the site is and some dont, the site is a members pay site (not

Re: hiding an image path

2006-07-22 Thread Larry Lyons
I know this is OT, but OMG, how cool is the WWBD shirt!? Sorry, you can continue with the thread now. A lot of people were wearing the WWBD t-shirt at the CFUnited conference 3 weeks ago. It looked good. larry ~|

Re: hiding an image path

2006-07-22 Thread Will Tomlinson
Thanks guys. :) Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year.

Re: hiding an image path

2006-07-22 Thread Andrew Scott
Hmm, I would have thought img src=loadimage.cfm and use cfcontent from there would be the answer:-) Or am I missing what your really looking for? On 7/21/06, Dave Lyons [EMAIL PROTECTED] wrote: I need to hide the actual path to an image so the users cant see what folder the images are in.

hiding an image path

2006-07-21 Thread Dave Lyons
I need to hide the actual path to an image so the users cant see what folder the images are in. I was talking with Jared about it and he suggested to use cfcontent but when I do that the only thing that shows up is the image and not the rest of the page. Btw~ it won't just be for 1 image it

Re: hiding an image path

2006-07-21 Thread James Holmes
CFCONTENT will do the job. You need to use an image-server page to do this; you then use the imageserver as the src attribute in your other pages. You can store filepaths in a DB and send the ID of the image to the imageserver page to obscure the true path. On 7/21/06, Dave Lyons [EMAIL

RE: hiding an image path

2006-07-21 Thread Michael E. Carluen
shortly after the page loads. -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 11:55 PM To: CF-Talk Subject: hiding an image path I need to hide the actual path to an image so the users cant see what folder the images are in. I

Re: hiding an image path

2006-07-21 Thread Dave Lyons
James, I'll give that a go, i thought about it before but was a lil worried about performance doing that. thanks Michael, Thats not a real possibility because those same images will be constantly viewed by hundreds of continuous users 24x7 (hopefully), so I can't be moving and deleting them

RE: hiding an image path

2006-07-21 Thread Ben Nadel
the file names. ... Ben Nadel www.bennadel.com -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 4:01 AM To: CF-Talk Subject: Re: hiding an image path James, I'll give that a go, i thought about it before but was a lil worried

Re: hiding an image path

2006-07-21 Thread Charlie Griefer
Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 4:01 AM To: CF-Talk Subject: Re: hiding an image path James, I'll give that a go, i thought about it before but was a lil worried about performance doing that. thanks Michael, Thats not a real possibility

RE: hiding an image path

2006-07-21 Thread Ben Nadel
-Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 4:01 AM To: CF-Talk Subject: Re: hiding an image path James, I'll give that a go, i thought about it before but was a lil worried about performance doing that. thanks Michael, Thats not a real

Re: hiding an image path

2006-07-21 Thread Ken Ferguson
why not call your images with the src=image.cfm?imgID=47 and then choose which image to get from which directory in image.cfm when you serve it up. * Ken Ferguson 214.636.6126 * Dave Lyons wrote: I need to hide the actual path to an image so the users cant

Re: hiding an image path

2006-07-21 Thread Charlie Griefer
[mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 9:38 AM To: CF-Talk Subject: Re: hiding an image path i know there have been heated discussions about the overhead (or lack thereof) of storing actual images in the database...but could that be an option to try? On 7/21/06, Ben Nadel

Re: hiding an image path

2006-07-21 Thread Tom Chiverton
On Friday 21 April 2006 15:00, Ken Ferguson wrote: why not call your images with the src=image.cfm?imgID=47 and then Or (as you know which users own which images) if you require users to login to your site: src=nameOfImage.jpg?userName=theusersname Then check theusersname matches the logged in

RE: hiding an image path

2006-07-21 Thread Ben Nadel
an image path On Friday 21 April 2006 15:00, Ken Ferguson wrote: why not call your images with the src=image.cfm?imgID=47 and then Or (as you know which users own which images) if you require users to login to your site: src=nameOfImage.jpg?userName=theusersname Then check theusersname matches

Re: hiding an image path

2006-07-21 Thread Tom Chiverton
On Friday 21 July 2006 16:07, Ben Nadel wrote: This won't work as expected as JPG files are not processed by the ColdFusion application server. Depends. You can write a trivial rewrite rule so they can be, for instance. -- Tom Chiverton

RE: hiding an image path

2006-07-21 Thread Ben Nadel
Good point. ... Ben Nadel www.bennadel.com -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 11:19 AM To: CF-Talk Subject: Re: hiding an image path On Friday 21 July 2006 16:07, Ben Nadel wrote: This won't work

RE: hiding an image path

2006-07-21 Thread Munson, Jacob
Dave, What if you were to encrypt the path with ColdFusion, and then stuff the encrypted string into a JavaScript variable like so: var daPath = 'cfoutput#Encrypt('/clients/images',myKey,DESEDE)#'/cfoutput; Then whenever you need to display an image, use JS to decrypt the variable (a view source

RE: hiding an image path

2006-07-21 Thread Michael E. Carluen
i know there have been heated discussions about the overhead (or lack thereof) of storing actual images in the database... Charlie, from my own experience of storing images as binaries on a mySQL db, it bumps up the size of the stored file by upto 50%. Meaning, a 100k image may take upto 150k

Re: hiding an image path

2006-07-21 Thread Charlie Griefer
Michael... understood. but what with disk space being relatively inexpensive nowadays...if his need to hide the image paths outweighs the issue of disk space, it might be a worthwhile option. i just didn't (and still don't) know if there's any performance impact as far as converting the data

RE: hiding an image path

2006-07-21 Thread Michael E. Carluen
i just didn't (and still don't) know if there's any performance impact as far as converting the data back into an image. can you elaborate on whether or not there is? From Dave's original requirement, he's talking about a loop of a hundred or so images. So I'm sure there will be a

Re: hiding an image path

2006-07-21 Thread Ken Ferguson
For real, img src=image.cfm?imgid=47 is the best way to go. You can then store your images wherever you want and nobody can find them... It's incredibly easy... * Ken Ferguson 214.636.6126 * Michael E. Carluen wrote: i just didn't (and still don't) know if

Re: hiding an image path

2006-07-21 Thread Alan Rother
Maybe I missed this earlier in the thread... but I have to ask, Why do you need to hide the folder? Is it so that the end user cannot download the one image they are looking at, or so they cannot access any of the other images in the folder? Because, if you're trying to prvent the download of

RE: hiding an image path

2006-07-21 Thread Ben Nadel
: Friday, July 21, 2006 4:42 PM To: CF-Talk Subject: Re: hiding an image path Maybe I missed this earlier in the thread... but I have to ask, Why do you need to hide the folder? Is it so that the end user cannot download the one image they are looking at, or so they cannot access any of the other images

Re: hiding an image path

2006-07-21 Thread Dave Lyons
Thanks for everyones answers, let me explain it more. Some of you know what the site is and some dont, the site is a members pay site (not p^rn but similiar format, non nudity, think maxim), if you look at wills shirts site www.coldfusiongear.com thats the girl. Ok so, the whole site is of