View Issue Details

IDProjectCategoryView StatusLast Update
0003319OXID eShop (all versions)2. ----- eShop backend (admin) -----public2011-11-21 17:20
Reportera.nowakowski Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version4.5.3 revision 39087 
Summary0003319: No possibility to upload an image bigger than 500 x 500px in the WYSIGWIG-Editor (PE & EE-Edition)
DescriptionIt is not possible to upload an image bigger than 500 x 500px in the WYSIWIG-Editor build in the PE & EE-Edition. I choose in the options "Change image size if image bigger than: Custom: 1000 x 1000px". The image will be always scaled to an width and height of 500px.
Steps To Reproduce1. You need am with an width of e.g. 700px
2. Admin -> Customer Information -> CMS-Pages -> Edit CMS-Page and click Image-Symbol -> Click "Upload" -> Select Image Path -> Select scale image size if bigger than: Custom -> 1000 x 1000px -> Click Upload and check the width of the Image in the Editor & FTP.
TagsNo tags attached.
Attached Files
wysiwyg_dialog.jpg (43,929 bytes)   
wysiwyg_dialog.jpg (43,929 bytes)   
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

svetlana

2011-11-21 14:11

reporter   ~0005417

Reminder sent to: a.nowakowski

Hi,

This is not shop configuration,but WYSIWIG-Editor's.
You can change it:
faile \admin\wysiwigpro\config.php
$max_image_width = 500; // maximum allowed width of uploaded images in pixels
$max_image_height = 500; // maximum allowed height of uploaded images in pixels

a.nowakowski

2011-11-21 15:11

reporter   ~0005419

But than the feature "Change image size if image bigger than" in the OXID-Shop is not working? Have you tried this fix? I've already found that settings before bugposting but changing it into 1000px wouldn't solve this problem.

dainius.bigelis

2011-11-21 16:39

reporter   ~0005425

Reminder sent to: a.nowakowski

hi,

Please check the attached screenshot, to be sure that we are talking about the same place.
You mean that this option "Resize image larger than..." is not working in your case?

Best regards,

a.nowakowski

2011-11-21 16:41

reporter   ~0005426

Hello,
yes, that's it.
With best regards,

dainius.bigelis

2011-11-21 17:08

reporter   ~0005428

Reminder sent to: a.nowakowski

All these dialog boxes are fully - wysiwyg editor area and their responsibility. This editor is incorporated in eShop as one of tools for more convenient work. The issues which comes from such 3rd party tools are only their responsibility and we (mostly) cannot even fix the issues in their code, because that would license violations (as this was the commercial tool, sold together with our eShop product).
So in this case (esp, when the editor is already discontinued) the only solution is to fix the issue by yourself directly in the source code of wysiwyg editor.
We checked a bit their code and looks like there is a bug at this place:
in file
admin\wysiwigpro\core\plugins\wproCore_fileBrowser\processors\upload.inc.php
at line 113:
if ((!empty($w) && !empty($h)) && ($w <= $maxwidth && $h <= $maxheight)) {
need to replace the <= to >=
This place is used in case if you will select "Custom" size and insert your wanted size.
Also there are more configs for image sizes in file conf/dialogConfig.inc.php.

... and the current entry in our bugtrack is closed as we cannot help you any more with that.

Best regards,