add auto adding photos support+ gallery