change thumb into photographs