ok, finally I’ve done with image upload.
I did it by setting template <temp-name>.phtml to one more Tab at product edit page where
I can handle whatever I want.
But it’s not a Magento style.
Also it’s almost works for me with Magento way, by adding a field at edit form:
$fieldset->addField('filename', 'image', array(
'label' => Mage::helper('pictos')->__('Image'),
'required' => false,
'name' => 'filename',
but I’ve got an error:
Warning: preg_match() expects parameter 2 to be string, array given in /var/www/lib/Varien/Data/Form/Element/Image.php on line 55
I’ve check this code but not found any serious problem with.
If anyone knows the problem -> helps appreciated.