bruce
09-26-2003, 05:13 AM
I don't have the exact code snippet but you should be able to use the resize or resizeR method.
This is what ServerObjects put on their site
Sub ResizeX (intXSize)
Dim intYSize
intYSize = (intXSize / Image.MaxX) * Image.MaxY
Image.ResizeR intXSize, intYSize
end sub
For more information, please review http://www.serverobjects.com/comp/Aspimage.htm
[b]quote:Originally posted by johnnyslotcar
I am interested in using ASPImage but am not having too much luck. I'm sure I'm doing something 'dumb'. The feature I'm interested in is the resize. I am running webwiz forums which supports image uploading into messages. What I'd like to do is have ASPImage resize the image to 390px wide (while retaining the correct aspect ratio of the image) during the image upload process. I can handle the integration of the code into my forums, but need help with the ASPImage syntax.
Can anyone supply me with a sample snippet or two on how to accomplish this? I've gone to the ServerObjects website, which didn't help me too much.
johnny
</blockquote id="quote"></font id="quote">
This is what ServerObjects put on their site
Sub ResizeX (intXSize)
Dim intYSize
intYSize = (intXSize / Image.MaxX) * Image.MaxY
Image.ResizeR intXSize, intYSize
end sub
For more information, please review http://www.serverobjects.com/comp/Aspimage.htm
[b]quote:Originally posted by johnnyslotcar
I am interested in using ASPImage but am not having too much luck. I'm sure I'm doing something 'dumb'. The feature I'm interested in is the resize. I am running webwiz forums which supports image uploading into messages. What I'd like to do is have ASPImage resize the image to 390px wide (while retaining the correct aspect ratio of the image) during the image upload process. I can handle the integration of the code into my forums, but need help with the ASPImage syntax.
Can anyone supply me with a sample snippet or two on how to accomplish this? I've gone to the ServerObjects website, which didn't help me too much.
johnny
</blockquote id="quote"></font id="quote">