1904labs / dom-to-image-more

Generates an image from a DOM node using HTML5 canvas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failing to create image at some times

saikrishna-innomick opened this issue · comments

sometimes image creation is failing due to the below errors. any fix for this?

Screenshot from 2023-03-29 11-35-46
Screenshot from 2023-03-29 11-38-44

@IDisposable, any fix or work around for this?

Looks like the server is just not replying with the images in a timely manner (perhaps due to cross-origin issues, perhaps not). Seems unlikely this is a tenable solution to run, given multiple 30second timeouts... does it ALSO fail when deployed somewhere (not localhost)? Can you construct a jsfiddle so I can try to debug?

@IDisposable , its failing with same errors in development and production,here iam using leaflet.

@IDisposable, due to code complexity and authentication I may not be able to construct a jsfiddle.if you are available, can we please connect and debug from my side through screen share, you can whatsapp or email me when you are available, on 9515981037 or saikrishna.t@innomick.com

Screenshot from 2023-03-31 12-05-13
this is my code snippet. please review it

The code snippet isn't the interesting part. I need the HTML and CSS (if any)

can we please connect once i can show you html and css?

@IDisposable this is the html and css Please review
https://jsfiddle.net/t0x6sh14/