Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,142
- Plugin Contributions:
- 56
Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
meksicus:
Are you sure ?
Making md5 from same path + image name gives same result ... i think so.
md5 is made from target filename, not from source.protected function getCacheName($data, $ext='') { $md5 = (IH_CACHE_NAMING == 'Hashed') ? md5($data) : $data; $file = $GLOBALS['bmzConf']['cachedir'] . '/' . $md5{0} . '/' . $md5 . $ext;:
What I'm saying is (performance issues aside) that files with the same names in different sub-directories aren't overwritten using the 'hashed' method.