updates for document images and ajax pagination for images on doucuments and content areas