change size photo-class