fix images inside tables

Refs #14