diff --git a/dist/activity_default.jpg b/dist/activity_default.jpg new file mode 100644 index 0000000000..3563abdb22 Binary files /dev/null and b/dist/activity_default.jpg differ diff --git a/dist/api/createPortfolioActivity.php b/dist/api/createPortfolioActivity.php index c1f1a9efe8..1f33502533 100644 --- a/dist/api/createPortfolioActivity.php +++ b/dist/api/createPortfolioActivity.php @@ -77,7 +77,7 @@ '{"type":"activity","version": "0.1.0","isSinglePage": true,"content":["' . $pageDoenetId . '"],"assignedCid":null,"draftCid":null,"itemWeights": [1],"files":[]}'; - $imagePath = '/media/activity_default.jpg'; + $imagePath = '/activity_default.jpg'; $learningOutcomes = ''; $isPublic = '0'; diff --git a/dist/api/getPortfolioActivityData.php b/dist/api/getPortfolioActivityData.php index adf55ba90f..f0b67ce2c8 100644 --- a/dist/api/getPortfolioActivityData.php +++ b/dist/api/getPortfolioActivityData.php @@ -36,7 +36,7 @@ $activityData = [ 'doenetId' => $doenetId, - 'imagePath' => '/media/activity_default.jpg', + 'imagePath' => '/activity_default.jpg', 'label' => '', 'learningOutcomes' => '', 'public' => false, //default to private diff --git a/public/activity_default.jpg b/public/activity_default.jpg new file mode 100644 index 0000000000..3563abdb22 Binary files /dev/null and b/public/activity_default.jpg differ diff --git a/public/api/createPortfolioActivity.php b/public/api/createPortfolioActivity.php index c1f1a9efe8..1f33502533 100644 --- a/public/api/createPortfolioActivity.php +++ b/public/api/createPortfolioActivity.php @@ -77,7 +77,7 @@ '{"type":"activity","version": "0.1.0","isSinglePage": true,"content":["' . $pageDoenetId . '"],"assignedCid":null,"draftCid":null,"itemWeights": [1],"files":[]}'; - $imagePath = '/media/activity_default.jpg'; + $imagePath = '/activity_default.jpg'; $learningOutcomes = ''; $isPublic = '0'; diff --git a/public/api/getPortfolioActivityData.php b/public/api/getPortfolioActivityData.php index adf55ba90f..f0b67ce2c8 100644 --- a/public/api/getPortfolioActivityData.php +++ b/public/api/getPortfolioActivityData.php @@ -36,7 +36,7 @@ $activityData = [ 'doenetId' => $doenetId, - 'imagePath' => '/media/activity_default.jpg', + 'imagePath' => '/activity_default.jpg', 'label' => '', 'learningOutcomes' => '', 'public' => false, //default to private