1. resize adgallery bug fix.