Private files now works, only issue is you cannot have your files directory BEHIND public_html .

The issue I found was that when imagecache goes to create the folder structure, it tries without a beginning / like how I've provided in my files directory config so that it is behind public_html.

Comments

dopry’s picture

I haven't been able to reproduce... I've put files folders in all kinds of funky places and it has still worked with the private files code.

lias’s picture

Hi, I've just installed imagecache based on this issue that claims to have it functioning for private downloads. But I am getting these types of img links to the imagecache files:


http://domain.org/?q=system/files/imagecache/icon//home/domain/files/pic...

Where can I change this file path in the module? I also noticed that the imagecache directory wasn't created in my private files directory (it is above the root). ???

dopry’s picture

Status: Active » Postponed (maintainer needs more info)

You need to enable clean urls to get rid of the ?q=

is the server running linux? windows? apache, iis... please give up some info so people can help you.. ;P
What exact errors are you getting? is there anything in the apache error log or in the watchdog?

dopry’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

inactive over a month... reclosing... do not reopen... get your own issue!

softtouch’s picture

The dev does NOT work with private files. At least, I get always a warning in the admin section that I have to switch to public files...
I ONLY need the cache feature of image cache, not and resizing functions, because it speed up very much the display of the images in galleries... is there any way to use JUST the cache and switch to private files?