replace embedded images before statustext is shortened