displaying recent images in gallery