diff --git a/main/inc/lib/main_api.lib.php b/main/inc/lib/main_api.lib.php index dabfee555f..6820affa37 100755 --- a/main/inc/lib/main_api.lib.php +++ b/main/inc/lib/main_api.lib.php @@ -1537,7 +1537,7 @@ function api_format_course_array($course_data) { if (file_exists(api_get_path(SYS_COURSE_PATH).$course_data['directory'].'/course-pic85x85.png')) { $url_image = api_get_path(WEB_COURSE_PATH).$course_data['directory'].'/course-pic85x85.png'; } else { - $url_image = api_get_path(WEB_IMG_PATH).'icons/64/course.png'; + $url_image = api_get_path(WEB_IMG_PATH).'icons/'.ICON_SIZE_BIG.'/course.png'; } $_course['course_image'] = $url_image; return $_course; diff --git a/main/template/default/auth/courses_categories.php b/main/template/default/auth/courses_categories.php index f59941f56a..bbbbbba870 100755 --- a/main/template/default/auth/courses_categories.php +++ b/main/template/default/auth/courses_categories.php @@ -243,7 +243,7 @@ function display_thumbnail($course, $icon_title) if (file_exists($course_path.'/course-pic85x85.png')) { $course_medium_image = api_get_path(WEB_COURSE_PATH).$course['directory'].'/course-pic85x85.png'; // redimensioned image 85x85 } else { - $course_medium_image = api_get_path(WEB_IMG_PATH).'icons/64/course.png'; // without picture + $course_medium_image = api_get_path(WEB_IMG_PATH).'icons/'.ICON_SIZE_BIG.'/course.png'; // without picture } // course image