CSRF Validation fails if image load fails


There is a stupid issue with GridView with "image" column format.

If given image is not loading (e.g. was deleted from server for whatever reason) it is impossible to delete a record because of error 400.

This is a bit confusing as it’s pretty costly to check image actually exists and is not locked in advance.

Any idea how to overcome this issue?