Are you using the Javascript sample viewer? or a custom application. Unfortunately, queryzoom is not a built in functionality. However it is reasonably easy with the API.
If you could tell us a bit more about your Server application we could provide a better answer.