Hello.
I'm using a form to upload an array of image files, so using fORMFile::configureImageUploadColumn looks as a good solution to deal with all the required checking. However, I would need to put those files in diverse user directories, so I can't put a fixed path in the configure method().
As I'm not sure about the order in which ORM processing is done, would it be right adding a $upload_path property to my model class to use it within the configure method? i.e.:
public $upload_path;
protected function configure()
{
fORMFile::configureImageUploadColumn($this, 'picture', $this->upload_path);
}
That way I could set that property on each case.
Regards,
A.