Handle the get request for images thus will be able to view images in application