         shortcut: ''
         title:    utils.i18n 'untitled'
       # Only allow existing images.
-      for image in ext.images when image.id is feature.image
+      for image in ext.IMAGES when image.id is feature.image
         newFeature.image = feature.image
         break
       # Only allow valid keyboard shortcuts.

      existing.title = feature.title
  existing.enabled = feature.enabled
  # Only only existing images.
  for image in ext.images when image.id is feature.image
    existing.image = feature.image
    break
  # Only allow valid keyboard shortcuts.

loadImages = ->
  imagePreview = $ '#feature_image_preview'
  images       = $ '#feature_image'
  for image in ext.IMAGES
    $('<option/>',
      text:  image.name
      value: image.id
