So I have an intranet site where all the images need to be in the private directory. After upgrading the 7.19, there was a change to image.module's image_file_download. On line 297 it now checks if $headers is empty. Adaptive Image seems to add a folder to $original_uri for the breakpoint which didn't exist on my setup. I attached an image of my dpm() output for $original_uri.

Essentially the file doesn't exist at the location specified causing $headers to return empty.

CommentFileSizeAuthor
Screen Shot 2013-02-01 at 10.38.36 AM.png19.51 KBjnettik
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sborsody’s picture

Have you figured anything further out? I think I'm seeing the same thing with adaptive image and the private filesystem.

jnettik’s picture

Honestly, in the end I just pulled adaptive image module from the site I was having issues with. It wasn't that critical of a piece on that particular project. I've also been going with cs adaptive image module for responsive images. It's a javascript solution rather that a server side one and I've had much better luck with it.

Sorry I don't have much more info on the actual problem.

Sborsody’s picture

Thanks for the update. I temporarily disabled the adaptive effect from the image style. :( I have a second site that may also have the same problem.

vegansupreme’s picture

I've been using Private files download permission. When I allow access to the styles folder, it seems to work.