Error 256 with JIT Image Manipulation extension
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
Not sure what you could be doing wrong, all seems in order. I wonder if the response from Flickr is returning something nasty.
In extensions/jit_image_manipulation/lib/image.php
you will see a try/catch block from which the error is originating. This try block builds the method name that processes the image. Could you go to extensions/jit_image_manipulation/lib/class.image.php
, locate the loadExternal()
function and add the following directly inside it:
header('Content Type: text/html'); echo $uri; die;
Then try viewing your image. This should dump out the exact URL that it is attempting to grab and load. My hunch is that the ‘http://’ isn’t being correctly appended to the URL it is grabbing.
Thanks for the suggestion, Nick. It appears that the image URL is being formed correctly:
Create an account or sign in to comment.
I’m attempting to resize and cache some images from Flickr on my site. I’ve installed and enabled JIT 1.06, and added “farm[1-3].static.flickr.com*” to my Trusted Sites list.
After a lot of trial and error with the settings, I’m still not having any success getting it to return an image. Mostly it seems to return a blank page. The closest I’ve come is linking directly to the extension:
http://brianandjaclyn.net/extensions/jit_image_manipulation/lib/image.php?param=1/300/200/1/farm3.static.flickr.com/2461/4088196322_a986fae805_b.jpg
…which returns a blank page and the following error in Symphony’s main log:
…except that the image is definitely a JPEG:
http://farm3.static.flickr.com/2461/4088196322_a986fae805_b.jpg
Am I doing something wrong? Any suggestions?