$Form->images = UploadedFile::getInstances($Form,'images');
foreach($Form->images as $file){
$file->saveAs('uploads/' . $file->baseName . '.' . $file->extension);
}
$images = UploadedFile::getInstances($Form,'images');
$path1 = 'uploads/' . $images[0]->baseName . '.' . $images[0]->extension;
$image[0]->saveAs($path1);
$imageModel = new ImageModel(...);
$imageModel->image1 = $path1;
$imageModel->image2 = $path2;
$imageModel->save();