private files and images
| Project: | OG Teampage |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
hmm... couldn't get image uploads to work with OG Teampage with private files on. Chased it down a bit, and images seem to upload fine,
but they do not display and are not accessible, even when you try to access them directly.
For instance:
image link is created as:
<img src="http://SITE//?q=system/files/og-tp/teampage_overview_1_1.png width="75" height="150" alt="user-image">
Trying to access directly as
http://SITE//?q=system/files/og-tp/teampage_overview_1_1.png
fails with a page not found, whereas
images that were uploaded as file attachements, and linked into pages in a similar fashion, or accessed directly as:
http://SITE//?q=system/files/IMAGE.jpg
works fine. (note that they are in the top level private folder here)
This seems like it is probably a feature of the private file method, but haven't been able to figure out why.
Note that the subdir under the files path works fine if file access is public.
I haven't been able to trace this, so pointers welcome.
