code: function (images) {
      var processed = [];
      for (var i = 0; i < images.length; i++) {
        if (typeof images[i] === 'string') {
          processed.push({url: images[i]});
        }
        else if ($.isArray(images[i])) {
          processed.push(processImagesArray(images[i]));
        }
        else {
          processed.push(processOptions(images[i]));
        }
      }
      return processed;
    }
docs: /* Process images array