changed tables to divs for images