I am not able upload images with the same name as an existing one. I would think it would just take the name and append a number to it but.. ? Maybe some other module I have is interacting with this or I missed something?
If I try to add an image to the site that has the same name as an existing image the node is published with no image content and the following error message and general message appears:
= = =
[error]
The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
[message]
The image [image node title] had missing derivative image which has been regenerated.
Your Image has been created.
= = =
Less important, but when I then navigate to view the previously published image (or rather, a page that has a thumbnail for it) I see a message: "The image [previously published image node title] had missing derivative image which has been regenerated.".
In each case I am not using multi image uploads or image importing; just create a single new image node.
This also occurred on the previous version we had installed, 5.x-1.3
We are running Drupal 5.1.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpinfo.pdf | 25.69 KB | ianj |
Comments
Comment #1
drewish commentedwhat version of php are you using? i've not been able to replicate this.
Comment #2
ianj commentedThanks very much for looking into this. We are using PHP Version 4.4.7. I have attached a PDF of the output of phpinfo() in case that's helpful.
Comment #3
ianj commentedI'm sorry for the wild goose chase on this. I believe I had determined more precisely what is required to reproduce this issue.
We have Organic Groups installed and this appears to occur only for images that are posted and associated with a group.
For example, when image A is posted in Group 1 and then an image with the same name as image A is attempted to be posted in any group the error occurs.
If an image with the same name as A is posted but not associated with any group then the error does not occur.
I'm not sure if this is something I should report to OG or the Image module.
Comment #4
ianj commentedOddly, this combination of Organic Groups and Image also seems to be causing the following issue.
:: Posting image that is less than preview size results in error ::
If attempt to post an image in an OG Group whose image dimensions are less than the preview settings it results in the image node being created without the image and the following error message appears:
The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
For example, one way to reproduce this is to:
make the Image 'preview' setting be 400 x 400
then add Image content to an OG Group and try to post an image that is 399x399 (or smaller).
Comment #5
Hetta commentedduplicate of http://drupal.org/node/169396