New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add web.archive.org support #3
Conversation
Yeah i forgot about that e.e its fixed now. |
As far as i know by design your supposed to get the height and width While the image loads. I also tested this and all the images dimensions are set properly. However i can also parse the data listed on the html page to get the size if you still wan't to avoid taking any chances. |
I think there's a mis-communication here. Here's my thoughts.
So, I'd accept 1, and 2 I want' to think about a bit. On Mon, Jun 20, 2016 at 8:27 PM, Belldandu notifications@github.com wrote:
|
@dteviot
Also as for your one question https://davidwalsh.name/get-image-dimensions Also as for your issue with larger images, the problem is that the scaled down images with words in them that were translated are impossible to see (i opened one of the books and dear god the blurryness). Grabbing the full images ensures visablity. |
That's what I understood. |
i.e. I think updateImageInfoFromImagePage needs to return a promise that is resolved when onLoad finishes. Please fogive me, I need to go away and do some thinking. |
Thats why i put the return inside of onload. In your promise, then cannot be called until after By placing the return inside of onload you keep the integrity of the values as nothing is returned until after the image has been fully loaded. At least thats how it should do and has done so far. I can even try limiting the connection in the browser and test to make sure its still working. |
And ok |
Ok yeah just tested definetly needs a promise. |
There we go it's now promised and i tested it to. Works perfectly even when throttled to 50kbps with 500ms ping. @dteviot |
Thanks. |
Awesome. and night |
@dteviot o.o |
I've merged it into the current dev branch "Sonako" and will send updated build 0.0.0.4 to Chrome Webstore. If I hear no complaints in a few days, will merge to trunk. |
Ignore those last 2 |
Awesome. |
I'm moving onto the next pull request to add #4 |
This pull request is to add the enhancement at #2