NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on February 18, 2012, 01:10:10 PM

Title: How to override the location of an image
Post by: John Fligg on February 18, 2012, 01:10:10 PM
I need to save the location of an image after saving the form.

In PostUpdate after Start I have:

fi.iImage.Load('Data\' & clip(p_web.GSV('FilePath')) & '\Images\Client\' & clip(Con:Image))
fi.iImage.Thumbnail(1000, FILTER_LANCZOS3)
fi.Image.Save()

This code is being triggered and the value is correct but prior to that a call to save the file in web/upload is being made and the file is being saved in that location and not where I require it.

How do I get it to ignore the web/upload folder?

Thanks

John
Title: Re: How to override the location of an image
Post by: bruce2 on February 18, 2012, 08:43:11 PM
See example 26 - file upload.
Title: Re: How to override the location of an image
Post by: John Fligg on February 19, 2012, 02:21:46 AM
Got it! Thanks Bruce.

John