old_contents: from PIL import Image
  import os
  
  THUMB_SIZE = (128, 128)
  
  
  def create_img_directories(base_path):
      """
      Create a directory for the thumbs and resized 'large' images
      """
      os.mkdir(os.path.join(base_path, "large_imgs"))
      os.mkdir(os.path.join(base_path, "thumbs"))
  
  
  def create_images(user_images_dir, dest_dir):
      """
      Open the original image files and save a thumb and gallery version
      """
      for img_file in os.listdir(user_images_dir):
          img_path = os.path.join(user_images_dir, img_file)
          img = Image.open(img_path)
          # TODO: Create 'large' file and write to correct directory
          # TODO: Create thumb and write to correct directory
  
new_contents: from PIL import Image
  import os
  
  THUMB_SIZE = (128, 128)
  
  
  def create_img_directories(base_path):
      """
      Create a directory for the thumbs and resized 'large' images
      """
      os.mkdir(os.path.join(base_path, "large_imgs"))
      os.mkdir(os.path.join(base_path, "thumbs"))
  
  
  def create_images(user_images_dir, dest_dir):
      """
      Open the original image files and save a thumb and gallery version
      """
      for img_file in os.listdir(user_images_dir):
          img_path = os.path.join(user_images_dir, img_file)
          img = Image.open(img_path)
  
          # TODO: Create 'large' file and write to correct directory
          # TODO: Create thumb and write to correct directory
  
subject: Change to test