natashawylie / iviewer

image viewer plugin for jquery
233 stars 97 forks source link

Problem with big images #23

Closed jorgemaciaspina closed 11 years ago

jorgemaciaspina commented 12 years ago

I've been trying iviewer and it works great, but when i try to show an image over 4000 x 5000 px it' starts to slow down, on firefox is acceptable but not in chrome. Thanks and great work.

can3p commented 12 years ago

The speed depends on how fast browsers can deal with image resizing. If you can propose any method to speed up iviewer, I will consider implementing it.

colinbashbash commented 12 years ago

yea, i'm having the same issue. not sure if it would help, but would you be able to speed things up if it provided both the large image and a smaller image (3000 x 3000) image? It seems like this would complicate things too much, though. Mine is for a one-time event though, where the users will be on site judging a contest. It looks like IE 9 works pretty fast, so I may just do that.

can3p commented 12 years ago

@colinbashbash in what browsers do you see this slow behaviour? On what hardware? May be moving to css transitions will fix this.

colinbashbash commented 12 years ago

I was noticing it on chrome version 21. Laptop Info: Intel i7 - 2.13 GHz - 64bit And it just has an "Intel HD Graphics" - no real graphics card

I just tested it in (windows) Firefox and it seemed to run fine without any issues. I'll try it on some other browsers and get back to you with what I see.

colinbashbash commented 12 years ago

Ok. I started looking at this some more.... I was able to use bigger pictures and chrome worked fine. Apparently, there was just one picture that it was having trouble with. And if I click the "1:1" button, then I can "zoom in and out and pan" without it lagging.

can3p commented 12 years ago

I've tested iviewer with images in several browsers and computers and didn't notice any lags. Without a testcase I cannot move further.

colinbashbash commented 12 years ago

I'm sorry, I went ahead and emailed a picture to you earlier to the email account listed in your profile. Let me know if you need me to send it somewhere else

can3p commented 12 years ago

It's ok, I've received it and did all the tests with it. I've tested in windows Vista with google chrome and internet explorer on Core 2 Duo laptop with 4GB RAM, and on ubuntu 12.04 laption with core i5 and 8GB RAM. May be I should test on some slower hardware to reproduce the lags?

2012/8/17 colinbashbash notifications@github.com

I'm sorry, I went ahead and emailed a picture to you earlier to the email account listed in your profile. Let me know if you need me to send it somewhere else

— Reply to this email directly or view it on GitHubhttps://github.com/can3p/iviewer/issues/23#issuecomment-7798366.

Kind regards, Dmitry Petrov

colinbashbash commented 12 years ago

I guess i'm not going to worry too much about that image in chrome.

(removed ignorant comment. Will repost better comment elsewhere)

can3p commented 11 years ago

Closing due to inactivity