embed filter now takes max_width arguement