title: Fetch multiple images from the server using Django
body: <p>I am trying to download multiple image files from the server. I am using Django for my backend. 
  Question related to single image has already been <a href="https://stackoverflow.com/a/15832328/1965914">answered</a> and I tried the code and it works on single image. In my application, I want to download multiple images in a single HTTP connection. </p>
  
  <pre><code>from PIL import Image
  
  img = Image.open('test.jpg')
  img2 = Image.open('test2.png')
  
  response = HttpResponse(content_type = 'image/jpeg')
  response2 = HttpResponse(content_type = 'image/png')
  
  img.save(response, 'JPEG')
  img2.save(response2, 'PNG')
  
  return response #SINGLE
  </code></pre>
  
  <p>How can I fetch both <code>img</code> and <code>img2</code> at once. One way I was thinking is to zip both images and unzip it on client size but I dont think that is good solution. Is there a way to handle this?</p>