Closes #285: Remove image from database if can't load it.