Hi alll,
I developed a module that lets you put inside body inline images uploaded with upload module.
I'm using private download method to output the file.
My impression is that caching of the image is not done.
How could I accomplish this ???
Here is what I'm doing now; based on the file name, I determine if to print out the img tag or a link to the file.
I create filename return by using standard file functions: file_create_url($file->filepath), then I use the following themeable function to print out fillename.
Hi all,
another problem I'm facing.
I implemented a site with private/public per node management (using node_access standard mechanism and implelmenting a specific module that gives some roles the ability to see 'private' contents.
Now, if I have a node with some files uploaded with it, I would like to be able to inhibit file download if the node is private and the user cannot see it.
Even if I use private download method, a non registerd user can download the file.
i would like to have a reference module, is there an alternative to tgat since it's not more supported?
I tried the emailpage module but it doesen'twork for the general website, only for a specific node.