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

        shortcut: ''
        title:    utils.i18n 'untitled'
      # Only allow existing images.
      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.SHORTCUT_MAC_MODIFIERS
    else
      $('#feature_shortcut_txt').html ext.SHORTCUT_MODIFIERS
    # Initialize all faceboxes.
    $('a[facebox]').click ->
      $.facebox div: $(this).attr 'facebox'