Make org-show images display only in one buffer

I added two lines that turn off inline image display during org-show and redisplay images once the show is over. The images are still resized and displayed in a temporary buffer during the org-show.