This is a very useful code to create Zip File which contain images and start download that zip.

Code: to create zip file

Thanks