timthumb.php is a resizing/cropping php script, used in thousands of websites, I'm using it in my wordpress blog, and I'm facing a issue.
I use a plugin that changes the wordpress default's paths for security reasons, like:
Example
Before
mysite.com/wp-content/uploads/2013/03/example.jpg
After
mysite.com/images/example.jpg
timthumb simply won't recognize the new path, it seems to retrieve a 404 error, it can't find the image
My issue:
If you try to access example.jpg directly it works normally, but with timthumb it doesn't
mysite.com/images/example.jpg
You can see the image, even if the file is actually in
mysite.com/wp-content/uploads/2013/03/example.jpg
but timthumb won't recognize it and outputs the above error
Current .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^images/(.*) /wp-content/uploads/$1 [QSA,L]
RewriteRule ^lib/(.*) /wp-content/themes/mytheme/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^/wp-content/themes/mytheme/$ lib/ [R,L]
RewriteRule ^/wp-content/uploads/$ images/ [R,L]
RewriteRule ^lib/$ /wp-content/themes/mytheme/ [L,NC]
RewriteRule ^images/$ /wp-content/uploads/ [L,NC]
</IfModule>