first of all, phpThumb is a great tool <3
I'm using ur tool very often on my website (http://gigafoundation.de). For my purposes
I added a new parameter called "getPath". This should return the path of the cached
file instead of showing or redirecting the cached file.
In the function RedirectToCachedFile() I added an if clause like this
- Code: Select all
if( isset($_GET['getPath']) ) {
echo $phpThumb->cache_filename;
die();
}
For sure, this works but it's veeeeeeeryyy slow. When redirecting to the cached image it
goes in microseconds without any CPU usage or so, but when I try to return the path
of the cachefile my CPU runs up to 60% percent - every time (!)
Any suggestions how to fix that?
