User-653327211 posted
I hope this code works out for you:
Protected
Sub Page_Load(ByVal sender
As
Object,
ByVal e
As System.EventArgs)
Handles
Me.Load
Dim img
As
New System.Drawing.Bitmap(Server.MapPath("filename.gif"))
If img.Width > 120
And img.Height > 80
Then
'use this function to resize your image
http://www.glennjones.net/Post/799/Highqualitydynamicallyresizedimageswithnet.htm
End
If
End
Sub
Good Luck!