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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | filefield_verify_file.patch | 755 bytes | quicksketch |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | filefield_verify_file.patch | 755 bytes | quicksketch |
Comments
Comment #1
quicksketchThis 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?
Comment #2
damienmckennaquicksketch: Awesome, thanks! I'll give it a spin on our dev server, see how it works with an in-development project.
Comment #3
damienmckennaSeems to be working fine.
Comment #4
quicksketchThanks, committed.