I think it would be very useful if, while trying to display an image, that if the original file (files.filepath) did not exist it would write a log message to say so.

CommentFileSizeAuthor
#1 filefield_verify_file.patch755 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Project: ImageField » FileField
Status: Active » Needs review
FileSize
755 bytes

This would probably live in FileField, so that it would work no matter what formatter you're using (e.g. FileField, ImageField, or ImageCache). How's this look?

DamienMcKenna’s picture

quicksketch: Awesome, thanks! I'll give it a spin on our dev server, see how it works with an in-development project.

DamienMcKenna’s picture

Seems to be working fine.

quicksketch’s picture

Status: Needs review » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.