Home › Forums › Back End › [Solved] Imgbrowz0r vs. WordPress › Re: [Solved] Imgbrowz0r vs. WordPress
You haven’t set "images_dir" and "cache_dir".
It’s the path on your server to those folders of "images_url" and "cache_url".
‘images_dir’ => your/path/to/imgbrowz0r/gallery’,
‘cache_dir’ => your/path/to/cache’,
The reason you have to set images_dir, cache_dir AND images_url, cache_url, is that Imgbrowz0r creates the thumbnails for your and reads the images. It does this internally, so it needs to know where to find it.
A path may look like this:
/var/www/imgbrowz0r/
/username/domains/mydomain.com/public_html/imgbrowz0r/
If you don’t know the path, or don’t want to look for it, then simply use this:
‘images_dir’ => dirname(__FILE__).’/gallery’,
‘cache_dir’ => dirname(__FILE__).’/cache’,
the command dirname(__FILE__) will automagically point to the path of creative-order.com/imgbrowz0r/ (meaning, the path to the directory index.php is inside of).
So copy-paste the above code and try again.
Also, please let us know if it worked :)
-Tem