When using cropping on upload, filefield doesn't "remember" the new filename.

Error message in Recent Log Entries:

FileField was trying to display the file "sites/.../drupal.png", but it does not exist.

It doesn't exist, because after cropping "drupal.png" was renamed to "drupal.png.crop_display.png" and the original file was deleted. This new filename information isn't stored anywhere, it keeps looking for the original filename.

** Additional consequence, when using imagecache for these uploads, the imagecache cant find that cropped file either, because it also looks for the original filename, instead of .crop_display.

Comments

quicksketch’s picture

Project: FileField » Imagefield Crop
Version: 6.x-3.1 » 6.x-1.x-dev
yhager’s picture

Do you have graphics library enabled? you must have either GD or imagemagick. I guess in your case cropping simply does not work, and the ".crop_display" extension is just the module trying to keep the original version before cropping.

yhager’s picture

Status: Active » Closed (fixed)

No response. Closing.