Giter Club home page Giter Club logo

Comments (6)

Andereoo avatar Andereoo commented on August 23, 2024

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.

valtervg13 avatar valtervg13 commented on August 23, 2024

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.

Andereoo avatar Andereoo commented on August 23, 2024

I'm getting the error 'Compressed (zipped) folder is invalid' when opening your file. Perhaps you could try uploading it again? Thanks!

from tkinterweb.

valtervg13 avatar valtervg13 commented on August 23, 2024

Sure thing! It opens normally when i download it though.

Here it goes:
Testing.zip

from tkinterweb.

valtervg13 avatar valtervg13 commented on August 23, 2024

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.

Andereoo avatar Andereoo commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.