Rending images on gallery page.