table size adjustment with image