dharth
dharth

Reputation: 189

MAGENTO : Add image field in custom module

I'm creating a module and i want to add a picture in the edit page (back office), i do this :

$fieldset->addField('photo', 'image', array(
'label'     => "image",
'required'  => false,
'name'      => 'image',
));

the input is present in the page but in my controller i don't have any information about this picture, does someone can tell me how i can do this ?

Thanks.

Upvotes: 1

Views: 4835

Answers (1)

Related Questions