Closed tonygiang closed 6 years ago
What about the client-side? Do you see the upload request correctly (eg. from the inspector)?
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description: GrapesJS editor is initialized in an editor.html file as follows:
localhost:9001
is a local IIS server running PHP5. The content ofuploadimage.php
is as follows:Since images uploaded from GrapesJS is expected to be in the
$_FILES
array, I dump all of its content to a log file everytime a request reaches this page. Thetestlog.txt
file always getseach time I upload an image from the Image element found in
gjs-preset-newsletter
plugin, indicating that Asset Manager is sending empty requests to the server. File upload is enabled in my php.ini:And the test image file is way below PHP's limit. To be exact, I used GitHub_Logo.png found in a package here for testing. Am I doing something wrong?
OS: Windows 10 GrapesJS version: v0.14.6 Browser: Chrome 65