Hi i have enabled imagecache in my application and it was working fine before...but for the past few days its not working and showing error message "image cannot be displayed because it contains errors" if i have URL like this

http://localhost/fun/index.php?q=sites/default/files/imagecache/Wall-Picture/pictures/wall-picture-1-231855.jpg

But if have URL like this, then its working correctly...

http://localhost/fun/sites/default/files/imagecache/Wall-Picture/pictures/wall-picture-1-231855.jpg

I have enabled Clean URL and also i found one think,

if i hit the first url without logging into application, then its working correctly. I checked permission, all are perfect...still i couldn't able to trace out this issue.

And one more thing, its working fine in production server.

I cleared cache, re-build module, flush imagecache and even recreate settings in imagecache also, but nothing solves this issue.

so, please help in solving this issue...