Johannes wrote:
On Sun, Jan 11, 2009 at 09:00:51AM -0300, Jorge Arellano Cid wrote:
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.
Done.
corvid, can you please verify that this fixes the issue you were seeing?
Same problem for me still. It turns out that <img src="http://www.dillo.org/wearlab.png" height=20> in isolation works fine, but <a href="http://auriga.wearlab.de/"> <img src="http://www.dillo.org/wearlab.png" height=20> </a> doesn't.