I\’m new in magento.
I want to install magento extension - ImageClean.
1 - I would like to know in what folder i install the extension.
2 - What do i do after i install the module?
3 - How do i set a cron job to the ImageClean?
Image Clean is an extension that lists all the product images found within the ‘media/catalog/product’ directory that are not found in your Magento database. The extension is designed to save you manually trawling though your image store folder looking for the relevant images to delete. It simply does the hard work for you by allowing you to select and delete those redundant images!
This guide will walk you through the installation of the Image Clean extension.
Before we start, as always we recommend backing up your Magento store before installing any extension.
Step 1: Login to your Magento Store Admin Panel.
Step 2: Browse to ‘System’ --> ‘Magento Connect’ --> ‘Magento Connect Manager’.
Step 3: Re-enter your Administrator credentials if prompted and click ‘Login’.
Step 4: Paste in the following extension key into the text box: ‘magento-community/Mage_Imaclean-0.1.0’
See Attachment- Step 4
Step 5: Click ‘Install’.
Step 6: You should see the following message which confirms the correct installation of Image Clean:
Step 7: Click the ‘Refresh’ button to verify the installation of Image Clean.
See Attachment --Step 7
Step 8: To use the Image Clean extension click ‘Return to Admin’, and you should see a new entry in your top navigation bar called ‘Imaclean’. Simply click ‘Imaclean’ --> ‘Manage Items’ and then click ‘Refresh’ to display a list of all the redundant images that can be deleted.
See Attachment --Step 8
If you need any kind of help you can contact us as we are one of best Magento extensions developer.
After this action you should run the command in the console:
sudo crontab –e
And then you should write there:
0 0 * * * /usr/bin/php /full/path/to/imaclean.php
It will set up cron at 00 hours 00 minutes per every day, the other words the clearing of the images will be started at midnight.
Here is an important remark:
If you have many products, it will not work, it will be hanging.