Hi Jorge, On Fri, Jan 09, 2009 at 02:00:20PM -0300, Jorge Arellano Cid wrote:
Hi Johannes,
Now that I have the image process mostly in my head, I'd like to hook correct image ratio scaling when only one of width/height is given.
I see scaling done with the styleengine in a_Html_add_new_image but 'props' goes away when popping the tag. How do I handle this?
Do I have to preserve props in the stack until I have the final data, or is there another way? Please explain.
What about just setting the data that is available (width, height, or both) and let the image do the rest? It already handles the case where neither width nor height are given. So it should be possible to make it work with just width or height too. Am I missing something? Cheers, Johannes