Use the Lolcat widget.
[mkws-moved-to-github.git] / src / mkws-widget-image.js
index 61bdab1..c0c9723 100644 (file)
@@ -2,3 +2,13 @@ mkws.registerWidgetType('Image', function() {
     mkws.promotionFunction('Record').call(this);
     if (!this.config.template) this.config.template = 'Image';
 });
+
+mkws.registerWidgetType('GoogleImage', function() {
+    mkws.promotionFunction('Image').call(this);
+    if (!this.config.target) this.config.target = 'Google_Images';
+});
+
+mkws.registerWidgetType('Lolcat', function() {
+    mkws.promotionFunction('GoogleImage').call(this);
+    if (!this.config.autosearch) this.config.autosearch = 'kitteh';
+});