By Caesar Tjalbo on
I have a directory in my Localhost setup. It contains a number of jpg's. I've created a custom content type with a textfield in which I enter the name of a jpg. It's supposed to show the picture with the node and it works but not all the time. Some of the pictures don't show (it displays the alt text in stead) and when I try to open them by right-clicking I get a 403 Forbidden message.
All the pictures are in the same directory. The owner and group are identical for each picture. The permissions according to the filesystem are identical for each picture.
Why do some pictures show and others don't?
Comments
Odd. Workaround.
By accident I found a workaround, although not really an answer to my question.
If I copy a picture to the directory in my webserver, it gets shown all right. If I move a picture it has its access forbidden. It's my WTF-moment of the day, though I'm happy to have solved it, more or less.