2

I am using magento's default file uploader in my custom modules. How can I hide the image thumbnail shown in image below?

enter image description here

2 Answers 2

4

If you are using your custom module for displaying system configuration then change in your system.xml. Replace image with file in your <frontend_type>file</frontend_type> field.

1
  • I did the same just before. Yes. Its the exact method. :)
    – Vishnu R
    Commented Aug 26, 2013 at 11:53
2

This is best done with CSS. Find the ID of the <tr> tag your system > configuration field is in and then add the following CSS to either your own custom stylesheet or a general stylesheet

#row_custom_field img { display: none; }

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.