Hello All, i am creating a component where one i have a vbox and under that i have an image.
i have provided the faciltity to load image at runtime by specifing the url. one can also change it's height and width at runtime.Along with stretch options(by height,width,both) So can ne1 help me how to compress the image width or height according to the height of vbox. like if i specify stretch by height it should be stretched from it'e height... please help ...quite urgent

