Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Product Images Delete problem
Jr. Member
Total Posts:  1
Joined:  2008-10-30

I have configured magento successfully on my server. now i m trying magento product create, delete API
I tried product media API as given here

It worked fine, as show in the code, in the end it deletes the image, but it doesn’t delete image physically, it just deletes from database. not from the disk.

I thought may be directory permission can be readonly, so i changed directory permission to 777(writable), but still it doesn’t delete the image.
So I tried to delete image from magento admin’s catalog manage. same thing happened from there too. it didn’t delete the image physically from disk.

as a last solution, i tried to delete the whole product, but still the images stay on the disk.
How can I solve this??

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top