Comments (6)
Hi @valtervg13,
Thank you for bringing this issue to my attention. TkinterWeb should support base64 encoded images. Can you please provide an reproducible example of the image causing the error? That way I will be able to try and troubleshoot the problem.
Thanks!
from tkinterweb.
Thanks for the quick response!
I did some testing while trying to make a simple example and found that the problem only arises with big, complex images.
Simple images like the github logo display normally.
I'm sending a simplified code with the problematic image as an attachment since the encoded base 64 within it is simply huge. The html file is generated by the code, but if the size of the image string starts causing problems with the IDE it should be enough for testing the problem.
Testing.zip
Thanks a bunch!
from tkinterweb.
I'm getting the error 'Compressed (zipped) folder is invalid' when opening your file. Perhaps you could try uploading it again? Thanks!
from tkinterweb.
Sure thing! It opens normally when i download it though.
Here it goes:
Testing.zip
from tkinterweb.
I found out the problem: i was using the wrong image extension in the html. Not a problem with the htmlFrame.
Thanks for your time and effort! Sorry for the blunder.
I will close the topic now and should probably delete it since it was an error on my part.
Thanks again!
from tkinterweb.
No problem! Blunders happen sometimes; don't worry about it. I'm just glad that you have figured out your problem!
As always, never hesitate to reach out if something else isn't working quite right!
from tkinterweb.
Related Issues (20)
- Feature Request: Publish Wheel HOT 2
- Selenium support (Making Contact) HOT 4
- Is it possible to get TKHTML3 to render to postscript?
- [Suggestion] split get_node_attribute into 2 methods HOT 1
- PIL not working. HOT 3
- Почему не поддерживает файл png? HOT 5
- Where exactly did you get the TKHTML binaries & how is their source code compiled? HOT 1
- How to compile htmlwidget.MODIFIED.zip? HOT 10
- Support for img alt attribute? HOT 1
- AttributeError: module 'os' has no attribute 'uname' HOT 2
- "RuntimeError: main thread is not in main loop" when trying to load an image that loads elsewhere HOT 2
- Question: Crashes in Tkhtml30.dylib on Mac (Intel) HOT 1
- HtmlFrame doesn't respect height value HOT 7
- Node for found text HOT 10
- Specify font HOT 3
- HtmlFrame widget is trying to interpret the file path as a web URL instead of a local file path when I try to load a folium map. HOT 1
- crash with signal SIGSEGV during loading html into HtmlFrame HOT 3
- AttributeError: 'FreeTypeFont' object has no attribute 'getsize' HOT 2
- Change scroll bar color HOT 2
- [BUG]: Not loading `linear-gradient` CSS. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tkinterweb.