changes in images index page(Improved the performance)