On Sun, Jan 11, 2009 at 01:00:14AM +0000, corvid wrote:
Johannes wrote:
On Fri, Jan 09, 2009 at 11:58:54PM +0100, Hofmann Johannes wrote:
I think the html part needs not be changed. Everything is available in style already. I've attached a quick patch that seems to work for fixed sizes. It does not handle something like width="50%" however.
As the patch works rather well for me and improves the current behaviour, I've cleaned it up a bit (avoiding a possible division by 0) for inclusion into main.
Loading an image scales properly for me, but I still see lack of scaling when I leave a page and come back. Is that supposed to work now?
Yes, it is supposed to work. Altough now that you mention it, I have problems the *first* time a only-one-dimension-specified image tag is loaded. Once coming back it works OK. This is because the second time the image dimensions are known from the dicache. Patch 8f7293125059 from main fixes this. Johannes: please test and merge. -- Cheers Jorge.-