Compress images and videos and save them in a new folder