\Product_ProductImageUploadField

This is a preset upload field for product images.

In the config you can set the default folder name for a certain image Field
using


MyClass:
folder_name_for_images: "MyFolderName"


It is recommended that you also set the calling class manually as we expect this
to be faster

e.g.


$fields->addFieldToTab('Root.Images', $uploadField = new Product_ProductImageUploadField('Image', _t('Product.IMAGE', 'Product Image')));
$uploadField->setCallingClass("Product");