Fix image replacement technique

Need to have `display` property value other than `inline`.