added photo preview