Defcon2

Image Clean

  • Popularity Score 7887 Popularity Score

    Popularity ScoreReferrals to Site/Downloads

    0 0 1+ 1+ 250+ 250+ 1000+ 1000+ 10000+ 10000+

This extension allows to list all the product images that already are not in use and to erase them.
Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must be registered and logged in to get extension key.
In order to get this extension, you must be logged in to the Magento Community. Click here to login or register.

Magento Connect 2.0

Magento Connect 2.0

FREE
Previous Next
Overview

Image Clean

This estension lists all the product images that they find in the directory "media/catalog/product" and that they do not in the database. It allows to select and to erase these files.

Release Notes

This extension allows to list all the product images that already are not in use and to erase them.

2012-02-06 09:05:45
  • Version number: 0.1.0
  • Stability: Beta
  • Compatibility: 1.4.1.1
You must be registered and logged in to get extension key.

Magento Connect 1.0

Magento Connect 1.0

This extension lists all the product images that they find in the directory "media/catalog/product" and that they do not find in the database. It allows to select and to erase these files.
Reviews

About the Developer

This extension was developed by and is supported by Defcon2

Image Clean 4.5 5 69 69
works fine its easy to use. you need to enable magento downloader to accept beta extensions before install it. June 10, 2015
Works awesome! Tested it on 1.9.0.1 and it has worked. It has saved me around the 7GB of spaces. PS: Make sure that you clean your image cache after deleting the files and backup before you start. May 30, 2015
Items Manager. These files are not in database! 1.9.0.1 I'm getting this error any idea why? I use connect manager to install it. After doing a search in the menu I don't see any result other that the message. April 3, 2015
1.9.1 Deletes main image ? It deletes the main image from products for me in 1.9.1. I think this logic is needed ? The code could do with being a bit more "magentoized" class Mage_Imaclean_Model_Mysql4_Imaclean_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract { public function getAttributeId($name) { $eavAttribute = new Mage_Eav_Model_Mysql4_Entity_Attribute(); $code = $eavAttribute->getIdByCode('catalog_product', $name); return $code; } public function getImages(){ try { $this->setConnection($this->getResource()->getReadConnection()); $this->getSelect() ->from(array('main_table'=>$this->getTable('catalog/product_attribute_media_gallery')),'*') ->group(array('value_id')); $array=array(); foreach ($this->getData() as $item){ $array[] = $item['value']; } $ids = array(); $ids[]=$this->getAttributeId('image'); $ids[]=$this->getAttributeId('small_image'); $ids[]=$this->getAttributeId('thumbnail'); $tag = implode(",",$ids); $sql = "SELECT `value` FROM `catalog_product_entity_varchar` WHERE `attribute_id` IN($tag) GROUP BY `value`;"; $rows = $this->getResource()->getReadConnection()->fetchAll($sql); foreach ($rows as $row){ $array[] = $row['value']; } }catch(Exception $e){ Mage::log($e->getMessage()); } return $array; } } January 29, 2015
Works a treat Brilliant, does what it says! Just got rid of 500MB of old images. January 19, 2015
Woring Good good extension for delete unwanted image files highly recommended... December 10, 2014
Simple but Effective run in admin and delete images. Should be called Ronseal "does what it says on the tin" November 15, 2014
A must have This extension does exactly what i need. When you delete a product in the database, it does not delete images associated. This extension save about 2gb of old images Thanks October 3, 2014
Works smooth Works like a charm. Installed by Magento Connect and erased 2Gb images in 1 click. Perfect! August 24, 2014
works on CE 1.9.0.1 It works for me on CE 1.9.0.1 I installed this as usual via connect. Within a minute it freed up a half of GB disk space from orphan images!!! It does not delete from cache, anyway it is not a problem at all THe question is why these orphan images appear and why magento does not delete images when product are deleted? Is this a bug of magento or "works as designed"? August 11, 2014
  • 2015-08-03T16:46:01.768Z
  • bvseo_lps, prod_bvrr, vn_prr_5.6
  • cp-1, bvpage1
  • co_hasreviews, tv_69, tr_69
  • loc_en_US, sid_3114, prod, sort_default
2 3 4 5 ... 7 next>>
Q&A
(6 Questions : 2 Answers)

Product Q&A

Ask your questions. Share your answers.

 
 
« Back
 
 
Sort by
 
1 answer

Magento 1.8

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26638402
Customer avatar
I installed your module. Installed correctly. Logged out and login again. but i don't see it anywhere in admin panel?

Anything else i have to do?
by
bappa06
-
1 year, 7 months ago
-1point
0out of 1found this question helpful.
Was this helpful?Yes0No1

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27133856
Customer avatar
Answer: 
Change:

Mage_Adminhtml_Controller_action
to
Mage_Adminhtml_Controller_Action

in /app/code/local/Mage/Imaclean/controllers/Adminhtml/ImacleanController.php

Then recache and run compilation process again. Then when you click the link in admin it should now work. It does for me, and i had the same problem as you.
by
teaboy02
-
1 year, 5 months ago
-2points
1out of 4found this answer helpful.
Was this helpful?Yes1No3
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27239671
Customer avatar
Now when I log into my Magento Admin console, I don't see any options except this error message:

Fatal error: Class 'Mage_Imaclean_Helper_Data' not found in /home/protech/public_html/store/app/Mage.php on line 546
by
wacandrew
-
1 year, 6 months ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_318290
Customer avatar
Answer: 
You properly didn't switch of the Compiler before you installed the extension.
Go on FTP to "includes" and open the config.php.
Make a "#" in front of "define(‘COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’);"
The got to "var" Folder and clear the "cache" Folder.
Log off and on in your backend and voila.
by
siqu
-
1 year, 3 months ago
0points
0out of 0found this answer helpful.
Was this helpful?Yes0No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_108749
Customer avatar
I had thought I had installed this extension on a 1.51 site, but now the module says "Compatible with: 1.7"...
by
el1jones
-
2 years, 4 months ago
-2points
0out of 2found this question helpful.
Was this helpful?Yes0No2
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27238343
Customer avatar
I don't think duplicates are inactive so I'm not sure if this extension will do what I want.
by
alexandermorris
-
1 year, 4 months ago
-1point
0out of 1found this question helpful.
Was this helpful?Yes0No1
 
0 answers

magento 1.9

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26085781
Customer avatar
I've installed correctly , but nothing shows up in backend.
The change in imagecleancontroller.php didn't work.
Is there another way to get it to work?
Best regards, Joop
by
Joop Mulder
-
1 year, 1 month ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27476189
Customer avatar
Hello,

Would this extension work with Magento EE?
by
mtwinkler
-
11 months ago
-1point
0out of 1found this question helpful.
Was this helpful?Yes0No1
  • 2015-08-03T16:46:26.777Z
  • bvseo_lps, prod_bvqa, vn_prr_5.6
  • cp-1, bvpage1
  • co_hasquestionsanswers
  • loc_en_US, sid_3114, prod, sort_default
1 of 1
  • 2015-08-03T16:46:26.780Z
  • bvseo_lps, prod_bvqa, vn_prr_5.6
  • cp-1, bvpage1
  • co_hasquestionsanswers
  • loc_en_US, sid_3114, prod, sort_default
1 of 1
Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.

In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.

Close

Register

* Required Fields

Close window

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window

Login

To upload extension you must be logged in.

* Required Fields

Close window

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.