Checking that all images and tables are properly formatted