Index: lams_central/web/includes/javascript/addLesson.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/addLesson.js,v diff -u -r1.7.2.2 -r1.7.2.3 --- lams_central/web/includes/javascript/addLesson.js 4 Sep 2015 07:50:03 -0000 1.7.2.2 +++ lams_central/web/includes/javascript/addLesson.js 25 Mar 2016 13:54:48 -0000 1.7.2.3 @@ -17,6 +17,23 @@ var resized = resizeImage('ldScreenshotAuthor', 477); toggleCanvasResize(resized ? CANVAS_RESIZE_OPTION_FIT : CANVAS_RESIZE_OPTION_NONE); + }).error(function(){ + // the LD SVG is missing, try to re-generate it + var image = $(this), + learningDesignID = $(this).data('learningDesignID'); + + // iframe just to load Authoring for a single purpose, generate the SVG + $('