replace table with image