code: def show_original_image(*args):
      global currentImage
      global previous_image
      global reload_local_file
      global popup_menu_image
      global image_size
      global resizedImgBtn
      global rotateImgBtn
  
      user_cancelled_or_error = False
  
      if resizedImgBtn["bg"] == "lightblue":
          resizedImgBtn["bg"] = "lightgrey"
      else:
          rotateImgBtn["bg"] = "lightgrey"
  
      selectedImage = imageSelection.get()
  
      previous = lblFileName["text"]
      lblFileName["text"] = ""
      lblError["text"] = ""
  
      if selectedImage == "Open File >>":
          if not reload_local_file:
              all_ext = ("All files", "*.*")
              png_ext = ("PNG files", ".png")
              jpg_ext = ("JPG files", ".jpg .jpeg")
              bmp_ext = ("BMP files", ".bmp")
              tiff_ext = ("TIFF files", ".tif .tiff")
  
              try:
                  img_filename = fd.askopenfilename(
                      filetypes=(
                          all_ext,
                          png_ext,
                          jpg_ext,
                          bmp_ext,
                          tiff_ext,
                      )
                  )
  
                  if img_filename != "":
                      lblFileName["text"] = img_filename
                      currentImage = caer.imread(img_filename)
                  else:
                      # user clicked 'Cancel' button
                      user_cancelled_or_error = True
              except Exception as e:
                  lblError["text"] = "Error"
                  user_cancelled_or_error = True
                  print(str(e))
          else:
              reload_local_file = False
              lblFileName["text"] = previous
      elif selectedImage == "Mountain":
          currentImage = caer.data.mountain(rgb=True)
      elif selectedImage == "Snow":
          currentImage = caer.data.snow(rgb=True)
      elif selectedImage == "Sunrise":
          currentImage = caer.data.sunrise(rgb=True)
      elif selectedImage == "Night":
          currentImage = caer.data.night(rgb=True)
      elif selectedImage == "Island":
          currentImage = caer.data.island(rgb=True)
      elif selectedImage == "Puppies":
          currentImage = caer.data.puppies(rgb=True)
      elif selectedImage == "Black Cat":
          currentImage = caer.data.black_cat(rgb=True)
      elif selectedImage == "Sea Turtle":
          currentImage = caer.data.sea_turtle(rgb=True)
      elif selectedImage == "Gold Fish":
          currentImage = caer.data.gold_fish(rgb=True)
      elif selectedImage == "Bear":
          currentImage = caer.data.bear(rgb=True)
      elif selectedImage == "Beverages":
          currentImage = caer.data.beverages(rgb=True)
      elif selectedImage == "Tent":
          currentImage = caer.data.tent(rgb=True)
      elif selectedImage == "Camera":
          currentImage = caer.data.camera(rgb=True)
      else:
          currentImage = caer.data.guitar(rgb=True)
  
      if not user_cancelled_or_error:
          image_size = [
              str(int(currentImage.width())),
              str(int(currentImage.height())),
          ]
          selectedSize.set(image_size[0] + "x" + image_size[1])
  
          reset_ghsps()
  
          image_show(currentImage)
      else:
          lblFileName["text"] = previous
          imageSelection.set(previous_image)
          popup_menu_image["bg"] = "green"
          popup_menu_image["bg"] = "lightgreen"
          selectedImage = previous_image
  
      previous_image = selectedImage
  
imports: import matplotlib.pyplot
  from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk
  from matplotlib.figure import Figure
  from tkinter import *
  from tkinter import filedialog
  import platform
  import math
  import caer
label_desc: Use image node_id 2 for calling a global function with example usage: show_original_image() without return types