Compress images and videos and save in a new folder