added tumbnails generator and tumbnails for phtosessions