Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export picture error #90

Closed
tk-zc opened this issue Mar 5, 2019 · 4 comments
Closed

Export picture error #90

tk-zc opened this issue Mar 5, 2019 · 4 comments

Comments

@tk-zc
Copy link

tk-zc commented Mar 5, 2019

When a mind map exports a picture, image. PHP outputs the error message Error call PhantomJS, return code 1. How to do this?

@ondras
Copy link
Owner

ondras commented Mar 6, 2019

Hi @tk-zc, thanks for the bugreport.

The My Mind app itself is not able to export images, so we were using a hack here: in order to export an image, we simply called a remote server service to do a screenshot of the map inside of an invisible headless browser (running on said server).

The server we used is apparently no longer working. This is not a fault of the My Mind app itself and cannot be really fixed by pushing code changes. We need to find another hosted server service that could do these screenshots for us.

@tk-zc
Copy link
Author

tk-zc commented May 1, 2019

Hi @tk-zc, thanks for the bugreport.

The My Mind app itself is not able to export images, so we were using a hack here: in order to export an image, we simply called a remote server service to do a screenshot of the map inside of an invisible headless browser (running on said server).

The server we used is apparently no longer working. This is not a fault of the My Mind app itself and cannot be really fixed by pushing code changes. We need to find another hosted server service that could do these screenshots for us.

Hi @ondras ,Now that the problem of exporting pictures has been solved, I can run phantomjs phantomjs-my-mind.js URL output.png from the local command line to export pictures. Thank you very much for your help.

eg: phantomjs phantomjs-my-mind.js http://127.0.0.1/tools/my-mind-master/index.html?Url=http%3A%2F%2F127.0.0.1%2Ftools%2Fmy-mind-master%2Fexamples%2FGoldfish.mymind output.png

@ondras
Copy link
Owner

ondras commented Oct 1, 2019

@ondras
Copy link
Owner

ondras commented Oct 30, 2021

Exporting images should work once again! See #134 for more info.

@ondras ondras closed this as completed Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants