Revert "complete ajax image call"

This reverts commit 03a3a460233475454b274ae77146e78d9ac57cf5.
Revert "bugs"

This reverts commit 73a9fd9f0c17ea5555a1ea135fd7ecfc648c58f2.
Revert "started ajax for image"

This reverts commit 976af0bc7736cd1a3fdfa6d1d2ec25dce941b296.