natashawylie / iviewer

image viewer plugin for jquery
233 stars 97 forks source link

problem with "fit" #27

Closed tedc closed 12 years ago

tedc commented 12 years ago

I'm working with iviewer but I'm having some problem to fit the image to the container on start. My container is w 398px and h 378px, but the image has alwasy a width of 600px and a height of 570px. Is it a bug or am I wrong?

I'm using the Version: 0.5.3

tedc commented 12 years ago

The original size is: w 2400, h 2280

can3p commented 12 years ago

Can you please provide a testcase?

tedc commented 12 years ago

http://www.cumbotweezers.com/series/glitter/

tedc commented 12 years ago

Changing the size of the images (w 1632, h 1550) in the other series, iviewer works correctly.

can3p commented 12 years ago

Iviewer works correctly. The source of the problems is that the scale of images is smaller than default value of zoom_min in options. Try to change this value to smaller one.