<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : ASPImage Image Resize Re-Size</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : ASPImage Image Resize Re-Size]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 04:25:15 +0000</pubDate>
  <lastBuildDate>Fri, 04 Feb 2005 17:54:13 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=6015</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[ASPImage Image Resize Re-Size : plz i need this code too help...]]></title>
   <link>https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post75504.html#75504</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19006">martionline</a><br /><strong>Subject:</strong> 6015<br /><strong>Posted:</strong> 04&nbsp;February&nbsp;2005 at 5:54pm<br /><br />plz i need this code too help about aspimage ]]>
   </description>
   <pubDate>Fri, 04 Feb 2005 17:54:13 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post75504.html#75504</guid>
  </item> 
  <item>
   <title><![CDATA[ASPImage Image Resize Re-Size : I appreciate both pieces of code!...]]></title>
   <link>https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post28825.html#28825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12390">JohnnySlotCar</a><br /><strong>Subject:</strong> 6015<br /><strong>Posted:</strong> 28&nbsp;September&nbsp;2003 at 9:36am<br /><br /><P>I appreciate both pieces of code!&nbsp; My ISP only supports ASPImage 2.0 at the moment, but I see what you're doing in the prev. message...<BR><BR>May be you can help me with this ASPImage code.&nbsp; I have placed the following in upload_images.asp, on about line 190-200 (right above the 'post back' statement):<BR><BR>'###################################</P><P>Dim Image</P><P>Set Image = Server.CreateObject("ASPImage.Image")</P><P>Dim intXSize<BR>Dim intYSize<BR>intXSize= 390</P><P>Image.LoadImage strFileUploadPath &amp; "strImageName" <BR>Image.FileName = strFileUploadPath &amp; "strImageName"<BR>Image.ImageFormat = 1<BR>Image.JPEGQuality = 60</P><P>intYSize = (intXSize / Image.MaxX) * Image.MaxY</P><P>Image.ResizeR intXSize, intYSize</P><P>Image.SaveImage</P><P>Set Image = nothing</P><P>'###################################<BR><BR>My file still uploads, but no resizing.&nbsp; The intYSize should support proportional resizing according to the docs&nbsp;- can anyone help with this?&nbsp; Again, I am trying to resize uploaded images to 390px wide.</P><P>Thanks in advance!<BR><BR>Johnny<BR><A href="http://www.shoost.com/JohnnySlotCar" target="_blank">http://www.shoost.com/JohnnySlotCar</A></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sun, 28 Sep 2003 09:36:25 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post28825.html#28825</guid>
  </item> 
  <item>
   <title><![CDATA[ASPImage Image Resize Re-Size : Look at the code shown below,...]]></title>
   <link>https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post28727.html#28727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11946">Corobori</a><br /><strong>Subject:</strong> 6015<br /><strong>Posted:</strong> 27&nbsp;September&nbsp;2003 at 3:13pm<br /><br /><P><FONT face="Courier New, Courier, mono">Look at the code shown below, this load an image&nbsp;using SA File UP then makes two pics of it a bigger and a smaller one.</FONT></P><P><FONT face="Courier New">I have a slightly more complicated sample showing how to use ASPImage to&nbsp;cut off parts of an image, draw a circle, write a text here: <A href="http://www.corobori.com/Image.asp" target="_blank">http://www.corobori.com/Image.asp</A></FONT></P><P><FONT face="Courier New, Courier, mono">cSizeBigPic=500 <BR>cSizeSmallPic=250 </FONT></P><P><FONT face="Courier New, Courier, mono">sFileName0n = "REG" &amp; lRe_Id &amp; "."&nbsp;&nbsp; &amp;&nbsp; Mid(upl.Form("fi_ImageToUpload").UserFilename, InstrRev(upl.Form("fi_ImageToUpload").UserFilename, ".") + 1)&nbsp;&nbsp;&nbsp; <BR>sFileName1n = Server.Mappath("../Pics") &amp; "\"&nbsp;&nbsp; &amp; sFileName0n<BR>sFileName0p = "REC" &amp; lRe_Id &amp; "."&nbsp;&nbsp; &amp;&nbsp; Mid(upl.Form("fi_ImageToUpload").UserFilename, InstrRev(upl.Form("fi_ImageToUpload").UserFilename, ".") + 1)<BR>sFileName1p = Server.Mappath("../Pics") &amp; "\"&nbsp;&nbsp; &amp; sFileName0p<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>'on error resume next<BR>'upl.Delete sFileName1<BR>Err=0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>upl.Form("fi_ImageToUpload").SaveAs sFileName1n<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<BR>Set Image = Server.CreateObject("AspImage.Image")<BR>Image.LoadImage (sFileName1n)</FONT></P><P><FONT face="Courier New, Courier, mono">image.GetImageFileSize sFileName1n,iX,iY<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<BR>if cint(iX) &gt; cSizeBigPic then<BR>&nbsp;&nbsp;&nbsp; intYSize = (cSizeBigPic / Image.MaxX) * Image.MaxY<BR>&nbsp;Image.ResizeR cSizeBigPic, intYSize</FONT></P><P><FONT face="Courier New, Courier, mono">end if<BR>image.FileName = sFileName1n<BR>&nbsp;&nbsp;&nbsp;<BR>image.SaveImage<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<BR>image.LoadImage (sFileName1n)</FONT></P><P><FONT face="Courier New, Courier, mono">image.GetImageFileSize sFileName1n,iX,iY<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<BR>if cint(iX) &gt; cSizeSmallPic then<BR>&nbsp;&nbsp;&nbsp; intYSize = (cSizeSmallPic / Image.MaxX) * Image.MaxY<BR>&nbsp;&nbsp;&nbsp; Image.ResizeR cSizeSmallPic intYSize</FONT></P><P><FONT face="Courier New, Courier, mono">end if<BR>image.FileName = sFileName1p<BR>&nbsp;&nbsp;&nbsp;<BR> image.SaveImage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<BR>if Err &lt;&gt; 0 Then&nbsp; <BR>&nbsp;sError = err.description&nbsp; &amp; " " &amp; Err.number &amp; "&lt;BR&gt;"<BR>else<BR>&nbsp;sSQL = " UPDATE tblMYtable "<BR>&nbsp;sSQL = sSQL &amp; " SET&nbsp;&nbsp;&nbsp; Re_ImageSmall ='" &amp; sFileName0p &amp; "', "<BR>&nbsp;sSQL = sSQL &amp; "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Re_ImageBig ='" &amp; sFileName0n &amp; "' "<BR>&nbsp;sSQL = sSQL &amp; " WHERE Re_Id = " &amp; lRe_Id <BR>&nbsp;Set cmdTemp.ActiveConnection = conCorpocas<BR>&nbsp;cmdTemp.CommandText = sSQL<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;on error resume next<BR>&nbsp;cmdTemp.Execute&nbsp;<BR>&nbsp;if Err &lt;&gt; 0 Then&nbsp; <BR>&nbsp;&nbsp;sError = err.description&nbsp; &amp; " " &amp; Err.number &amp; "&lt;BR&gt;"<BR>&nbsp;end if<BR>end if<BR></FONT></P><P><FONT face="Courier New, Courier, mono"></FONT><BR>&nbsp;</P>]]>
   </description>
   <pubDate>Sat, 27 Sep 2003 15:13:21 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post28727.html#28727</guid>
  </item> 
  <item>
   <title><![CDATA[ASPImage Image Resize Re-Size : Has anyone gotten ASPImage 2.0...]]></title>
   <link>https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post28710.html#28710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12390">JohnnySlotCar</a><br /><strong>Subject:</strong> 6015<br /><strong>Posted:</strong> 27&nbsp;September&nbsp;2003 at 12:56pm<br /><br /><P>Has anyone gotten ASPImage 2.0 to work as an uploaded image file resizer?&nbsp; If so, could you share code?<BR><BR>Thanks in advance - looking for ways to limit my uploaded images to 390px wide.</P><P>Johnny</P>]]>
   </description>
   <pubDate>Sat, 27 Sep 2003 12:56:55 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/aspimage-image-resize-resize_topic6015_post28710.html#28710</guid>
  </item> 
 </channel>
</rss>