kiko Posted September 4, 2010 Share Posted September 4, 2010 How call function of regenerating images from an external script?Function definition:private function _regenerateThumbnails ($ type = 'all', $ deleteOldImages = false)This function it's private and can't call from other script.My source,script it's placed in admin prestashop dir: define('PS_ADMIN_DIR', getcwd()); include(PS_ADMIN_DIR.'/../config/config.inc.php'); include(PS_ADMIN_DIR.'/functions.php'); include_once './tabs/AdminImages.php'; $import = New AdminImages(); $type = 'products'; $deleteOldImages = false; $import->_regenerateThumbnails($type,$deleteOldImages); Thx Link to comment Share on other sites More sharing options...
kiko Posted September 13, 2010 Author Share Posted September 13, 2010 HelloI've been waiting 10 days and nobody has responded, any can help me? So difficult is what I ask? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now