Open alexkuk opened 9 years ago
Hey, thanks for the idea. I'm very open to include the code in the extension. Can you please open a pull request? Would you be willing to includ the event observer, too?
One note: what do you think, maybe it would be better to name the event in a way that states the condition which just occured - maybe nicerimagenames_new_file_available
or the like - since event names generally should not be in "command" form, but rather state things that happened.
Should be fixed by https://github.com/Vinai/nicer-image-names/pull/34 Please validate
I faced with this problem and I have a solution for it. Could you please review it and consider including it into the module?
The solution is to add an to override Mage_Catalog_Model_Product_Image::isCached() method in Netzarbeiter_NicerImageNames_Model_Image:
It checks the base file change time, and if cached file is older - we regenerate a cached file