Disable image previewer

Does anyone know how to Disable image previewer cause I want to add a script for zoom and it needs to be disabled.