@@ -398,7 +398,7 @@ function sanitizeColor(colorString) {
398398 return colorString;
399399}
400400
401−function cardString(template, components) {
401+function cardString(template, components, isCardTool) {
402402 var code;
403403
404404 var templateInteractive = (template == null ? true : (template["non-interactive"] !== undefined ? !template["non-interactive"] : true)) ? "true" : "false";
@@ -497,7 +497,7 @@ function cardString(template, components) {
497497 if (isNaN(aspectRatio)) {
498498 aspectRatio = 1;
499499 }
500− var fallback = components["art"] && components["art"]["fallback"] || "";
500+ var fallback = !isCardTool && components["art"] && components["art"]["fallback"] || "";
501501 fallback = encodeURI(fallback);
502502 var fallbackStatusCode = "";
503503 var fallbackURICode = '""';
@@ -599,7 +599,7 @@ function cardString(template, components) {
599599 }
600600
601601 var mascotImageVisible = useMascotShape ? 'false' : 'showHeader';
602− var fallback = components["mascot"] && components["mascot"]["fallback"] || "";
602+ var fallback = !isCardTool && components["mascot"] && components["mascot"]["fallback"] || "";
603603 fallback = encodeURI(fallback);
604604 var fallbackStatusCode = "";
605605 var fallbackURICode = '""';
@@ -854,13 +854,13 @@ function cardString(template, components) {
854854 return code;
855855}
856856
857−function createCardComponent(parent, template, components, identifier) {
857+function createCardComponent(parent, template, components, isCardTool, identifier) {
858858 var imports = 'import QtQuick 2.4; \n\
859859 import Ubuntu.Components 1.3; \n\
860860 import Ubuntu.Settings.Components 0.1; \n\
861861 import Dash 0.1;\n\
862862 import Utils 0.1;\n';
863− var card = cardString(template, components);
863+ var card = cardString(template, components, isCardTool);
864864 var code = imports + 'Component {\n' + card + '}\n';
865865
866866 try {