If upload (part of core drupal) is enabled, image shows images (thumbnails, previews and similar derivatives) only to user 1.

Enable "upload", test, get only the alt text of any given image.
Disable "upload", test, see all derivatives you're entitled to.

That's drupal 5.1 - and I'm on php 5.2.
So I upgraded to the latest drupal 5.x-dev: the behaviour of upload vs. image is the same.

Heh.
(Enabling upload_image doesn't change this particular behaviour, and gives the warnings I described in this issue: http://drupal.org/node/158082 .)

Comments

drewish’s picture

do you have other upload related modules installed? i haven't been able to replicate this...

Hetta’s picture

The ones with "upload" in the description (on admin/build/modules) are image and image assist.

drewish’s picture

upload_image shouldn't have anything to do with this. i've got upload enabled on my machines and have no problem.

has anyone else run into this?

florian’s picture

I have run in the same kind of behavior with image and upload modules installed. When I have configured the permissions for upload module, I thought it will be ok and unrelated to images to not allow anonymous users to see uploaded files. To solve the problem there are two options: 1) disable the upload module, or 2) let all the visitors to see uploaded files.

I think image module must have permissions settings which may be different from upload module. This way permissions can be set up properly for anonymous users to see images but other kind of files, for example.

drewish’s picture

ah, i think i understand. if that's the case then the real solution is to modify the module to stop using the file_revisions table: http://drupal.org/node/133436

drewish’s picture

Status: Active » Closed (won't fix)

Florian's right, it's not something I'm going to be able to fix in 5. In 6 it'll work right.

drewish’s picture

marked http://drupal.org/node/174814 as a duplicate.