Optimized media preview creation