While using phpthumb for image resizing functions there may arise some issues if the source image is not working or the source image URL is dead.
The usual error found is "Deprecated: Function ereg_replace() is deprecated in phpthumb.class.php on line 976."
To fix this replace the function with
"if (preg_match('#^'.preg_quote($this->config_document_root).'#', $filename)) {"
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.