First I'm not sure if this is a FileField Paths issue or an ImageField Crop issue. I'm creating the issue here first because it seems more likely the problem lies with FileField Paths.

Scenario:
I upload photos sent to me in two emails. Both are named photo.jpg. I upload the first photo and it remains

photo.jpg
photo.jpg.crop_display.jpg (for ImageField Crop)

However when I upload the second photo.jpg I get the following:
photo_0.jpg
photo.jpg.crop_display_0.jpg

This causes ImageField Crop to display the incorrect image. I am having FileFields Paths using PathAuto to clean both the path and the file.

Comments

neRok’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Not sure if this is still a problem, so going to close the issue.

Note that Drupal cores standard handling of files (in 7, not sure about 6, presume the same) is to append _0 to a file to prevent overwriting the first file with the common name. FFP uses the same system. ImageField Crop must not be handling this correctly, but this may be fixed by now. Here is a related issue #954044: Uploading non unique filenames breaks relationship between cropped image and original image.