-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to show an image with user.prompt. … (#905)
* Added the ability to show an image with user.prompt. … e.g. “user.prompt('Image example',text_input=False,image_url = "http://localhost:5555/lights.jpg") user.prompt now has the optional parameter image_url. At the moment the image must be served from a web server. I don’t know how to get Angular to display images from a file system. The workaround is to use python SimpleHTTPServer to serve a folder of images “e.g. python -m SimpleHTTPServer 5555” * Removed the show-image parameter Co-authored-by: Aaron Keith <[email protected]>
- Loading branch information
Showing
3 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters