update style of image thumb in gadget gallery image.