|
|
|
@ -55,7 +55,7 @@ if ($isStudent) { |
|
|
|
|
|
|
|
|
|
if (!file_exists($thumbSysPath)) { |
|
|
|
|
$courseImageThumb = new Image($imageSysPath); |
|
|
|
|
$courseImageThumb->resize(32, 32, 0); |
|
|
|
|
$courseImageThumb->resize(32); |
|
|
|
|
$courseImageThumb->send_image($thumbSysPath); |
|
|
|
|
} |
|
|
|
|
$tableRow['courseImage'] = $thumbWebPath; |
|
|
|
@ -100,7 +100,7 @@ if ($isStudent) { |
|
|
|
|
|
|
|
|
|
if (!file_exists($thumbSysPath)) { |
|
|
|
|
$courseImageThumb = new Image($imageSysPath); |
|
|
|
|
$courseImageThumb->resize(32, 32, 0); |
|
|
|
|
$courseImageThumb->resize(32); |
|
|
|
|
$courseImageThumb->send_image($thumbSysPath); |
|
|
|
|
} |
|
|
|
|
$tableRow['courseImage'] = $thumbWebPath; |
|
|
|
@ -167,7 +167,7 @@ if ($isStudent) { |
|
|
|
|
|
|
|
|
|
if (!file_exists($thumbSysPath)) { |
|
|
|
|
$courseImageThumb = new Image($imageSysPath); |
|
|
|
|
$courseImageThumb->resize(32, 32, 0); |
|
|
|
|
$courseImageThumb->resize(32); |
|
|
|
|
$courseImageThumb->send_image($thumbSysPath); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|