updated image call which no longer generates html