         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.

    # Load the current option values.
    load()
    if ext.isThisPlatform 'mac'
      $('#feature_shortcut_txt').html ext.shortcutMacModifiers
    else
      $('#feature_shortcut_txt').html ext.shortcutModifiers
    # Initialize all faceboxes.
    $('a[facebox]').click ->
      $.facebox div: $(this).attr 'facebox'
loadImages = ->
  imagePreview = $ '#feature_image_preview'
  images       = $ '#feature_image'
  for image in ext.IMAGES
    $('<option/>',
      text:  image.name
      value: image.id
