Some images are broken, what to do?
This solution only works with Ajax Search Pro version 3.2 and below. Timthumb library is no longer used!
It happens, because you most likely have some of the images hosted remotely. By default the image library does not allow to get images from remote hosts for security reasons. However if you trust the remote server hosting your images, then you can enable this feature with a quick modification on the timthumb source code.
- Open up the plugins/ajax-search-pro/includes/timthumb.php file and go to line 32, where you should see this:
if(! defined('ALLOW_EXTERNAL') ) define ('ALLOW_EXTERNAL', FALSE);
- Change that line to:
if(! defined('ALLOW_EXTERNAL') ) define ('ALLOW_EXTERNAL', TRUE);
After refreshing the browser the images should start appearing.