handle missing 'type' gracefully
redirect to newly created content; fixes #590
strip inserted actions from image; fixes #591
proper value for original size