Having a bit of trouble with the resize mode on the BinaryImage. I have specified the Width and Height in the aspx attributes and set the ResizeMode to fit, however it's just setting every image to the sizes that I specified rather than fitting them as it should be. This results in images being stretched rather than fit as if it's actually set to fill instead.
I'm using an httphandler to serve the image from a database and this is the relevant code:
Is there something that I'm missing here? Simply setting the ResizeMode to fit and setting a max height and width should be enough, right?