Closed (fixed)
Project:
Image
Version:
5.x-1.5
Component:
image.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2007 at 18:54 UTC
Updated:
21 Dec 2008 at 15:53 UTC
Odd one here - all my images are fine as long as you're an authorized user, but can't be seen at all if you're unauthorized.
They don't appear in views or even in the full node; the source code in both cases doesn't display the
code at all, so it's not just something funny in the CSS/theme/browser setup preventing it from being displayed. I don't have TAC or any other node-visibility module installed that I'm aware of.
If I give unauthorized users permission to Administer Nodes in the access controls, then the image thumbnails all become magically visible, but the image previews shown in the node show as a missing image.
I've attached the site documentation. Help, please?
| Comment | File | Size | Author |
|---|---|---|---|
| Site documentation KnowledgeView.txt | 35.31 KB | adam_b |
Comments
Comment #1
drewish commentedthis is a duplicate of http://drupal.org/node/158094
Comment #2
adam_b commentedMany thanks for the quick response, but I'm not sure it's the same issue:
- the original report in http://drupal.org/node/158094 says that the images were only visible to user 1 - that's not the case for me; other authorized users can see them
- I've disabled the core Upload module, and that hasn't fixed the problem
I've tested this some more and it's not just an issue of whether you're an authorized user or not - the images are only shown to user 1 and members of the KV role. If you're an authorized user but not part of the KV role, the effect is the same as if you're an unauthorized user - so I've changed the issue title to reflect this.
I'm having the same issue on another Drupal implementation on the same server, and that actually won't let me disable the Upload module - although I've disabled, deleted and uninstalled the Image module, it's still claiming that Upload is required by Image. Don't know what's going on there.
Would it be worth trying the dev version of the module?
Comment #3
drewish commentedokay, well i'll take another look at it. do you have any node access modules enabled?
Comment #4
adam_b commentedNo I don't - see the attached site documentation which lists the modules used.
However, I have been doing a lot of experimentation on this site, so there are a lot of modules which have been there in the past but aren't now. They've all been disabled and uninstalled and I've used the devel module to clear the cache, but I don't know if something may have been left over.
Comment #5
keenan83 commentedBy allowing anonymous user to have the privilege of viewing uploaded files allowed them to see the images.
Comment #6
adam_b commentedThanks, but there's no "view uploaded files" permission on my access-control page - perhaps you have it from some other module?
Comment #7
keenan83 commentedhmmm thats odd. The option should be under the upload module permissions.
Comment #8
drewish commentedi'm still not convinced this isn't a duplicate of http://drupal.org/node/158094
Comment #9
adam_b commentedWell, it might be related - I rebuilt everything from scratch on a new site without the upload module and found that I was having problems with unauthorized users being unable to see the images until I changed the binary-download mode from drupal-only to general HTTP.
I'll have to rummage around with it some more, but I seem to be able to work with it in the meantime - thanks.
Comment #10
drewish commentedComment #11
doublejosh commentedHad this same problem and looked through the duplicate post and related...
The issue was whether attached images were 'published' by default. I had taken them off so they wouldn't end up as postings in-and-of-themselves. But that is related to 'promote to front page'. I just happened to deselect both at the same time not knowing the difference.
The symptom shows up as a user-based issue because admins will see all attachments, and the owner of a post will see only theirs, while anonymous users will see none.
Hope that helps!
Comment #12
bdimaggioJust wanted to note that #9 solved the problem for me. Thanks Adam!
Comment #13
580mall commentedI still have this problem in Drupal 6.8 + imagefield 3.0 alpha 2