Fix bug with h2 and add vendor for generating img