I have a grid component in which before had a file upload on it to upload pictures onto. However, it needed to scale the pictures and resize them so I had to change the file upload for an image upload.

In image upload you cannot choose the file path as it is embedded and stored in the database whereas before I had xbasic running on the file upload to create the file path and name and put them into fields using left(16, etc.) and right(16, etc.).

Is there a way I can either

a.) Put coding into an image upload to upload it to a folder instead of embedding it and put the file name and path into the field values.

b.) Resize the photos while keeping it in the file upload format so that the xbasic I already have in still works and is not disturbed.

I hope all the above makes sense.