سؤال

Hello I am currently using the smoothZoom plugin in a project (http://codecanyon.net/item/smooth-zoom-pan-jquery-image-viewer/511142). I have to load in an image of roughly 2500 * 2500 pixels (the client is insistant on this size not being changed otherwise I would just resize the image).

Does anybody know any ways to make the panning and zooming smoother?

At the moment the operation of the smoothZoom is very sluggish.

هل كانت مفيدة؟

المحلول

In my opinion, what causes the operation of the smoothZoom to be sluggish is the client's hardware & browser. Not the plugin itself. 2500x2500 is a very large image, and the rendering of any animation can cause heavy usage of CPU.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top