Based on the patch from #192586: Private files support. This works for me with imagecache 2 and inline 2.x dev.

Comments

ezra-g’s picture

Status: Needs review » Needs work

Hmm, the image is properly re-sized, but links to the files directory as if files were public, as in [/files/image1.jpeg].

ezra-g’s picture

Status: Needs work » Needs review
StatusFileSize
new1.75 KB

This patch runs file_create_url() around the link, so it links correctly to the full sized image. Also removes junk debugging code.

sun’s picture

Title: inline_upload imagecache private files support » Private files support
sun’s picture

Status: Needs review » Closed (duplicate)

Marking as duplicate of #439928: Private Files Support.