Preview via ajax, limiting preview size, refs #45