I'm using the PHPThumb script to resize image in a little slider/carousel on my blog, www.muylinux.com. I've completed the migration from Cherokee (we had problems with this webserver) to Nginx, but although almost everything is running fine, the carousel does not show the thumbnail generated by PHPThumb, although the image is in fact on the directory it links to.
For example, this is one of the images that should be shown currently:
And as you can see, the image is there:
But somehow it doesn't show on the homepage's carousel.
I'm pretty sure it's a matter of some rewrite rule, but I can't see how to solve this.
I've seen that the RewriteRule in Apache should be
RewriteRule ^(.*)$ index.php?thumb=$1 [L,QSA]
I'm not sure the "translation" to an nginx rule could work, but I guess there is a good chance for that to work.
Could someone try to give me the equivalent rewrite rule for Nginx? I've tried this:
rewrite ^/([^?]*)(?:\?(.*))? index.php?thumb=$1$2;
I'm a beginner on this and it has not worked.