Added media preview creation