1

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.

1 Answer 1

2

Refer the image upload article

http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/how_to_create_pdf_upload_in_backend_for_own_module

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.