demo: allow variable width images