Thursday, 22 August 2013

Magento Admin System Config Image Upload

Magento Admin System Config Image Upload

I have been working on magento backend image upload functionality for
quite a few days.
The below code allows to upload an image in your specified upload directory.
<backend_model>adminhtml/system_config_backend_image</backend_model>
Screenshot:

Can we resize the image while uploading using system.xml settings ?
Is there any system config settings that allow us to do so. For eg:
<image_height>50</image_height> and <image_width>50</image_width>
Moreover can anyone pls shed some light on how the image is being
uploaded, checks for max image file size and how it resizes the image.
Thanks.

No comments:

Post a Comment