IMPORTANT: Don't test until D320 is committed.
Part 1 (flash uploader, without storage format)
- in IDE:
- open /modules/in-commerce/units/manufacturers/manufacturers_config.php file for editing
- remove storage_format field option (if any) in Logo field declaration
- save changes
- in Admin Console:
- go to E-commerce → Manufacturers section
- click on Add button on toolbar
- click Browse button for Logo image field and select 300x300 image
- confirm, that image was uploaded and thumbnail of 100x100 size is shown
- close item adding window
Part 2 (flash uploader, with storage format)
- in IDE:
- open /modules/in-commerce/units/manufacturers/manufacturers_config.php file for editing
- add storage_format field option with 'resize:150x200;crop:C|C' value to Logo field declaration
- save changes
- in Admin Console:
- go to E-commerce → Manufacturers section
- click on Add button on toolbar
- click Browse button for Logo image field and select 300x300 image
- confirm, that image was uploaded and thumbnail of 75x100 size is shown
- close item adding window
Part 3
- repeat test from Part 1, but use image that filesize is 1.5MB or more, but proportions, but width and height are the same
- repeat test from Part 2, but use image that filesize is 1.5MB or more, but proportions, but width and height are the same