https://github.com/robmarkcole/streamlit-image-table-pandas-app
Place images in a table using pandas and generate a shareable report
https://github.com/robmarkcole/streamlit-image-table-pandas-app
Last synced: about 1 year ago
JSON representation
Place images in a table using pandas and generate a shareable report
- Host: GitHub
- URL: https://github.com/robmarkcole/streamlit-image-table-pandas-app
- Owner: robmarkcole
- License: apache-2.0
- Created: 2022-08-12T03:46:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-12T04:51:52.000Z (almost 4 years ago)
- Last Synced: 2025-03-25T00:07:48.030Z (about 1 year ago)
- Language: HTML
- Size: 1.44 MB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlit-image-table-pandas-app
Place images in a table using pandas and generate a shareable report. Fork of [this example](https://github.com/dataprofessor/st-demo-image-table) discussed on [this thread](https://discuss.streamlit.io/t/embedding-image-links-in-table-doesnt-show-image-saving-to-html-does/21751). Modification here is to encode the image as a base64 string, which means that the html file can be shared with anyone (e.g. via email) and the images will still render. If local paths are used the images will not render because they will not be present on the recipients machine. The html can then be saved as a pdf using chrome using `print > save as pdf`
## Development
* Create and activate a venv: `python3 -m venv venv` and `source venv/bin/activate`
* Install requirements: `pip install -r requirements.txt`
* Run app: `streamlit run app.py`