Active
Project:
Adaptive Image
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2013 at 17:42 UTC
Updated:
17 Jun 2013 at 15:53 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2013-02-01 at 10.38.36 AM.png | 19.51 KB | jnettik |
Comments
Comment #1
Sborsody commentedHave you figured anything further out? I think I'm seeing the same thing with adaptive image and the private filesystem.
Comment #2
jnettikHonestly, 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.
Comment #3
Sborsody commentedThanks 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.
Comment #4
vegansupreme commentedI've been using Private files download permission. When I allow access to the styles folder, it seems to work.