add images table and image size relations.