Part 1 (flash uploader, without storage format)
- in IDE:
- open /modules/in-commerce/admin_templates/manufacturers/manufacturers_edit.tpl file for editing
- change form control for Logo field to inp_edit_swf_upload
- save changes
- 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/admin_templates/manufacturers/manufacturers_edit.tpl file for editing
- change form control for Logo field to inp_edit_swf_upload
- save changes
- 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 (regular uploader, without storage format)
- in IDE:
- open /modules/in-commerce/admin_templates/manufacturers/manufacturers_edit.tpl file for editing
- change form control for Logo field to inp_edit_upload
- change thumbnail parameter value for Logo field to 100x100
- save changes
- 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
- press Save button on toolbar
- confirm, that image was uploaded and thumbnail of 100x100 size is shown
- close item adding window
Part 4 (regular uploader, with storage format)
- in IDE:
- open /modules/in-commerce/admin_templates/manufacturers/manufacturers_edit.tpl file for editing
- change form control for Logo field to inp_edit_upload
- change thumbnail parameter value for Logo field to 100x100
- save changes
- 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
- press Save button on toolbar
- confirm, that image was uploaded and thumbnail of 75x100 size is shown
- close item adding window