add img onerror
merge