Implementing working functionality for photo displaying.