ebooks: handle <img> alt attribute