fix(watermark): case-insensitive Windows path check, text font size (wm_text_size), and fixed pixel size (wm_size_px)
This commit is contained in:
parent
be06ede1c3
commit
c7eec6d352
Binary file not shown.
|
|
@ -2081,8 +2081,10 @@ class ControllerModuleImgOpti extends Controller {
|
||||||
$this->config->set('module_img_opti_wm_corner_radius', isset($this->request->post['module_img_opti_wm_corner_radius']) ? $this->request->post['module_img_opti_wm_corner_radius'] : 0);
|
$this->config->set('module_img_opti_wm_corner_radius', isset($this->request->post['module_img_opti_wm_corner_radius']) ? $this->request->post['module_img_opti_wm_corner_radius'] : 0);
|
||||||
$this->config->set('module_img_opti_wm_size_type', isset($this->request->post['module_img_opti_wm_size_type']) ? $this->request->post['module_img_opti_wm_size_type'] : 'original');
|
$this->config->set('module_img_opti_wm_size_type', isset($this->request->post['module_img_opti_wm_size_type']) ? $this->request->post['module_img_opti_wm_size_type'] : 'original');
|
||||||
$this->config->set('module_img_opti_wm_size_percent', isset($this->request->post['module_img_opti_wm_size_percent']) ? $this->request->post['module_img_opti_wm_size_percent'] : 20);
|
$this->config->set('module_img_opti_wm_size_percent', isset($this->request->post['module_img_opti_wm_size_percent']) ? $this->request->post['module_img_opti_wm_size_percent'] : 20);
|
||||||
|
$this->config->set('module_img_opti_wm_size_px', isset($this->request->post['module_img_opti_wm_size_px']) ? $this->request->post['module_img_opti_wm_size_px'] : 200);
|
||||||
$this->config->set('module_img_opti_wm_text_color', isset($this->request->post['module_img_opti_wm_text_color']) ? $this->request->post['module_img_opti_wm_text_color'] : '#ffffff');
|
$this->config->set('module_img_opti_wm_text_color', isset($this->request->post['module_img_opti_wm_text_color']) ? $this->request->post['module_img_opti_wm_text_color'] : '#ffffff');
|
||||||
$this->config->set('module_img_opti_wm_text_font', isset($this->request->post['module_img_opti_wm_text_font']) ? $this->request->post['module_img_opti_wm_text_font'] : '');
|
$this->config->set('module_img_opti_wm_text_font', isset($this->request->post['module_img_opti_wm_text_font']) ? $this->request->post['module_img_opti_wm_text_font'] : '');
|
||||||
|
$this->config->set('module_img_opti_wm_text_size', isset($this->request->post['module_img_opti_wm_text_size']) ? $this->request->post['module_img_opti_wm_text_size'] : 24);
|
||||||
|
|
||||||
$this->config->set('module_img_opti_wm_target_product', 1);
|
$this->config->set('module_img_opti_wm_target_product', 1);
|
||||||
$this->config->set('module_img_opti_wm_target_category', 0);
|
$this->config->set('module_img_opti_wm_target_category', 0);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue