NetTalk Central

Author Topic: How to override the location of an image  (Read 2912 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How to override the location of an image
« 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

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: How to override the location of an image
« Reply #1 on: February 18, 2012, 08:43:11 PM »
See example 26 - file upload.

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: How to override the location of an image
« Reply #2 on: February 19, 2012, 02:21:46 AM »
Got it! Thanks Bruce.

John