Private files support
ezra-g - August 11, 2008 - 19:18
| Project: | Inline |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Description
Based on the patch from #192586: Private files support. This works for me with imagecache 2 and inline 2.x dev.
| Attachment | Size |
|---|---|
| inline_upload_private_imagecache.patch | 1.54 KB |

#1
Hmm, the image is properly re-sized, but links to the files directory as if files were public, as in [/files/image1.jpeg].
#2
This patch runs file_create_url() around the link, so it links correctly to the full sized image. Also removes junk debugging code.
#3
#4
Marking as duplicate of #439928: Private Files Support.