added crop option to publishCont ext