EDIT; Formatting.
Followed the configuration as in the example,
On my table model;
$this->addBehavior('Proffer.Proffer', [
'list_logo' => [ // The name of your upload field
'root' => 'users_uploads', // Customise the root upload folder here, or omit to use the default
'dir' => 'list_logo_dir', // The name of the field to store the folder
'thumbnailSizes' => [ // Declare your thumbnails
'square' => [ // Define the prefix of your thumbnail
'w' => 200, // Width
'h' => 200, // Height
'jpeg_quality' => 100
],
'portrait' => [ // Define a second thumbnail
'w' => 100,
'h' => 300
],
],
'thumbnailMethod' => 'gd' // Options are Imagick or Gd
]
`]);
EDIT; Formatting. Followed the configuration as in the example,
On my table model;
On my template;
On my table I have ; list_logo, list_logo_dir
As the fields defined to save the data. When I try to save, I keep getting the file object (the array) in the list_logo field in the request object.
any insight on what I may be doing wrong?