add download and online preview