I tried creating my own folder for product image size. but in my case by default it is creating "70x" folder. I want my own folder for different image size. I aso want to know that from where magento is creating different product image size folder.
does anyone know how to do this.? Please help me out.
–edit–
i want that particular resize value for e.g."1200×1200" should be saved in my own folder e.g "p1/c:/images/img1.jpg". I m trying my best. but no results.
any solution for this.?
Best Answer
The cache folder is generated in the method
Mage_Catalog_Model_Product_Image::setBaseFile
The
$path
variable is an array with all the subfolders.and it looks something like this
if you want to change this, you have to override the method mentioned above and change the lines I above.
Check also these answers for additional details:
[EDIT]
If you want images resized to
1200x1200
to be in a certain folder, you can modifyto