added ajax image support