[*] Classes : images.inc.php functions are now all deprecated, use the new class ImageManager instead

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12596 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-23 10:21:51 +00:00
parent 08a13fcc92
commit ebec527630
32 changed files with 569 additions and 427 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ class InstallModelInstall extends InstallAbstractModel
if (file_exists($img_path.$iso.'-default-'.$type['name'].'.jpg'))
copy($img_path.$iso.'-default-'.$type['name'].'.jpg', $dst_path.$iso.'-default-'.$type['name'].'.jpg');
else
imageResize($img_path.$iso.'.jpg', $dst_path.$iso.'-default-'.$type['name'].'.jpg', $type['width'], $type['height']);
ImageManager::resize($img_path.$iso.'.jpg', $dst_path.$iso.'-default-'.$type['name'].'.jpg', $type['width'], $type['height']);
}
}
}