updated gallery iamge sizer