Revert "Revert "started ajax for image""

This reverts commit 9c5e0b3bbecd44f0d741bdd2c3bab827cee5834c.
Revert "Revert "bugs""

This reverts commit a6994e3d88d6b4d688c8ad92759fd5b30c884ffa.
Revert "Revert "complete ajax image call""

This reverts commit 020a279ea206959a2b27119097c7077ec7a8b345.