add test render code for structure images -- working so far