add max-height and max-weidth to pictures show page