diff --git a/plugins/ktcore/admin/manageBranding.php b/plugins/ktcore/admin/manageBranding.php index be4b72f..825e229 100755 --- a/plugins/ktcore/admin/manageBranding.php +++ b/plugins/ktcore/admin/manageBranding.php @@ -545,7 +545,7 @@ class ManageBrandDispatcher extends KTAdminDispatcher { if (($width > $this->maxLogoWidth) || ($height > $this->maxLogoHeight)) { $default->log->info('SCALING IMAGE AFTER CROP'); - $res = $this->scaleImage($logoFile, $destFile, $this->maxLogoWidth, $this->maxLogoHeight, $type); + $res = $this->scaleImage($destFile, $destFile, $this->maxLogoWidth, $this->maxLogoHeight, $type, false, false); } // ImageMagick Crop diff --git a/templates/ktcore/forms/widgets/imageselect.smarty b/templates/ktcore/forms/widgets/imageselect.smarty index f0e0a10..258cbf0 100755 --- a/templates/ktcore/forms/widgets/imageselect.smarty +++ b/templates/ktcore/forms/widgets/imageselect.smarty @@ -22,7 +22,7 @@ //Resetting background: jQuery("img[id*='kt_image_select_']").css('border', '10px solid ' + background_color); jQuery('#kt_image_select_{$id}').css('border', '10px solid ' + click); - window.console.log('#kt_image_select_{$id} = {$src} : toggle_{$id} [' + toggle_{$id} + ']'); + {rdelim})