IpImageGallery widget post data check fix