>- see footer for list info -< Well normally you know the web path as it is relative to the root of your web site so you should surely just need to add your filename on to the end of the path ?, so it is the filepath that you need to calculate with those tags.
e.g. you know that your saving the images to /nicktest/thumbs so you just add the filename on to the end of the path. Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Middleweek Sent: 04 June 2008 15:21 To: Coldfusion Development Subject: Re: [CF-Dev] convert a full path into a web relative path? >- see footer for list info -< Thanks Russ, I've had a look at those, well two of them, i can't find the other one and I still can't convert a full path into a web path. Perhaps I need to use replace string and switch the \ to / ? Cheers, Nick 2008/6/3 Snake <[EMAIL PROTECTED]>: > >- see footer for list info -< > You need to looking at functions like these to calculate your paths. > > GetTemplateFrompath() > ExpandPath() > getCurrentTemplatePath() > etc. > > Russ > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nick Middleweek > Sent: 03 June 2008 18:12 > To: Coldfusion Development > Subject: [CF-Dev] convert a full path into a web relative path? > > >- see footer for list info -< > hello, > > Is there a command that let's me convert... > > D:\Inetpub\sites\webroot\nicktest\thumbs\map_page_1.jpg > > into... > > /nicktest/thumbs/map_page_1.jpg > > ? > > > Thanks, > Nick > -- > I know what I want to do, I just don't know how to do it! :-) > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< > > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
