Open GoogleCodeExporter opened 8 years ago
I did some further digging and it looks like the difference from 0.9.7 and
0.9.6 that
is meaningful is around detecting the image size.
I cannot for the life of me figure out how the image size is getting
initialized to a
different number. But in 0.9.6 the "actual" image size is being used rather
than the
CSS width/height. In 0.9.7 the img width and height are the CSS values rather
than
the value of the actual image file.
This becomes particularly meaningful in function presize($obj, w, h).
In 0.9.6, on line 914 and 915, xscale and yscale are set to the actual image
size /
"nw" | "nh", where as in 0.9.7 xscale and yscale are set to the image's CSS
width /
"nw" or height / "nh".
I suppose that this is more of a design issue than a bug. I would argue that
the
design should use the actual image size, because the server thinks the size of
the
image is the "actual" size, then CSS width/height is just an artifact of how the
image is being displayed to the user, therefore i would suggest that the
methodology
of 0.9.6 is the correct one.
thanks for all of the hard work, let me know if i can help,
Elliot
Original comment by elliot%p...@gtempaccount.com
on 29 Aug 2009 at 10:21
Original issue reported on code.google.com by
elliot%p...@gtempaccount.com
on 29 Aug 2009 at 8:50Attachments: