Manual:$wgIgnoreImageErrors

Details
If true, inline scaled images will still produce tags ready for output instead of showing an error message.