change pictures from square to medium size