JIT Image Manipulation (I'm beginner)
This is an open discussion with 32 replies, filed under Troubleshooting.
Search
- folder is empty
- Yes, I tried, but I can not change chmod to 777: 550 Could not change perms on cache: Operation not permitted
Hm, this must be an htaccess thing. If I bypass htaccess and create the URL to the image thumbnailer manually, it works:
http://chieko.ru/extensions/jit_image_manipulation/lib/image.php?param=2/70/70/2/uploads/10007.jpg
Could you paste in your .htaccess file? (highlight it in this textbox and click the code button to indent to ensure it displays a code block).
My .htaccess
file
Symphony 2.0 - Do not edit
<IfModule mod_rewrite.c> RewriteEngine on RewriteBase / ### DO NOT APPLY RULES WHEN REQUESTING "favicon.ico" RewriteCond %{REQUEST_FILENAME} favicon.ico [NC] RewriteRule .* - [S=14] ### IMAGE RULES RewriteRule ^image/(.+.(jpg|gif|jpeg|png|bmp))$ /extensions/jit_image_manipulation/lib/image.php?param=$1 [L,NC] ### CHECK FOR TRAILING SLASH - Will ignore files RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ /$1/ [L,R=301] ### MAIN REWRITE - This will ignore directories RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /index.php?page=$1&%{QUERY_STRING} [L] </IfModule> DirectoryIndex index.php <IfModule mod_autoindex.c> IndexIgnore * </IfModule> ######
Does your server have GD Library module enabled?
Yes, GD library enabled:
- GD Support enabled
- GD Version bundled (2.0.34 compatible)
http://chieko.ru/info.php (PHP info)
I’m pretty sure that nginx doesn’t support Apache .htaccess files, you’ll need to find out what its equivalent of mod_rewrite is.
Something to do with running Nginx? Seems odd that your page rewrites are working correctly yet the image one isn’t.
Stupid, Rowan. Stealing my uninformed thunder.
so … i’m talking with my hosting support, he said: Ngnix processing static files ((css|jpg|gif|txt|html|png|pdf|rar|zip etc.)
Thanks guys for help me, my hoster provider disabled Nginx on my account, and Jit then working ))))
Great! Glad you got it sorted.
wasn’t sure where to put this comment, so figured here would do. i’m working on a “one symphony core, multiple domains” set up and seem to be running into issues with JIT and nils’ Subsection manager. The main thing i’m seeing is this:
[error] PHP Fatal error: Call to a member function Meta() on a non-object in /site.com/httpdocs/extensions/jitimagemanipulation/lib/image.php on line 231, referer: http://subdomain.site.com/symphony/publish/articles/edit/3/
what could/does this error refer to and the Meta()
method? what could it be missing to throw this error?
Create an account or sign in to comment.
cache
folder?chmod 777
?