1

I added attribute "my_image" to customer, and I uploaded the images, but I can't display it in frontend edit form. Please help me. Thanks!

1 Answer 1

0

After 30 minutes try, I found the answer for my question. All I need is just add this code in template:

<img src="<?php echo Mage::getBaseUrl('media').'myimage'. DS .$login->getData("my_image");?>" alt=""/>

At first I was missing . DS .

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.