Closed (duplicate)
Project:
Image
Version:
5.x-1.1
Component:
image.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2007 at 18:21 UTC
Updated:
7 Feb 2008 at 09:04 UTC
I tried to upload 4 different images with the same file name zzz.jpg, but there is a problem with the images preview.
The preview for the 4 different images was the preview of the first uploaded image
Take a look at the attached file to see how renamed images the image module
As you see at the 2nd uploaded image has been renamed as zzz_0.jpg, created images zzz.preview_0.jpg, zzz_0.thumbnail.jpg and zzz_0.preview.jpg which was not the 2nd image preview but the 1st uploaded image.
So the view of image node of 2nd uploaded image display zzz_0. preview.jpg which was the preview of 1st zzz.jpg
A gave look an the image module at
function _image_filename()
But I cant get it what’s going wrong
| Comment | File | Size | Author |
|---|---|---|---|
| images-renaming.png | 47.35 KB | nsyll |
Comments
Comment #1
chris_car commentedI experience the same problem, but with version 4.7.x from October 2006.
Comment #2
chris_car commentedJust found this: http://drupal.org/node/131589
I did not tried the fix yet, but looks promising to me! ;-)
Comment #3
drewish commentedkyanos, the question is, is it just the names that are wonky? or is the node displaying the wrong images? if it's just the filenames then it's working properly. if the wrong images are being displayed then it's a bug.
chris_car, i won't be backporting the fix for 4.7.
Comment #4
Hetta commentedmarked as a duplicate of http://drupal.org/node/131589 , which is fixed... if it's still a problem in the latest version, please reopen this issue.