<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ASP.NET] Ridimensionare immagine e salvarla]]></title><description><![CDATA[<p dir="auto">Salve a tutti!</p>
<p dir="auto">ho trovato uno script semplice che permette di ridimensionare un'immagine e di salvarla....<br />
ma mi da questo errore:</p>
<p dir="auto">Server Error in '/' Application.</p>
<p dir="auto"><em>Runtime Error</em></p>
<p dir="auto">lo script è questo:<br />
&lt;%<br />
'##################################<br />
'#Come creare delle immagini<br />
'#formato thumbnail (ridotto)<br />
'##################################<br />
Const MinPixels = 100<br />
Set objImageSize = Server.CreateObject("ImgSize.Check")<br />
objImageSize.FileName = Server.MapPath("public/immagini/carollo.jpg")<br />
ImageHeight = objImageSize.Height<br />
ImageWidth = objImageSize.Width<br />
If ImageHeight &gt; ImageWidth Then<br />
NewHeight = CInt(ImageHeight * MinPixels / ImageWidth)<br />
NewWidth = MinPixelsElse<br />
NewWidth = CInt(ImageWidth * MinPixels / ImageHeight)<br />
NewHeight = MinPixels<br />
End If<br />
Set objImageSize = Nothing<br />
Set Image = Server.CreateObject("ASPImage.Image")<br />
Image.LoadImage(Server.MapPath("public/immagini/carollo.jpg")<br />
Image.FileName = Server.MapPath("public/immagini/carollo_ridotta.jpg")<br />
Image.Format = 1<br />
Image.JPEGQuality = 70<br />
Image.Resize NewWidth, NewHeight<br />
Image.SaveImage<br />
Set Image = Nothing<br />
%&gt;</p>
<p dir="auto">aiutoooooo!!! <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/ad0a1f8d-b404-40e4-a46a-e563b14044da-dho.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--arrabbiato" style="height:1.4em;width:auto;vertical-align:middle" title=":x" alt="" /></p>
]]></description><link>https://dev.connect.gt/topic/55756/asp-net-ridimensionare-immagine-e-salvarla</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 16:59:55 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/55756.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Dec 2007 10:25:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ASP.NET] Ridimensionare immagine e salvarla on Wed, 12 Dec 2007 00:08:34 GMT]]></title><description><![CDATA[<p dir="auto">Di niente!</p>
]]></description><link>https://dev.connect.gt/post/648231</link><guid isPermaLink="true">https://dev.connect.gt/post/648231</guid><dc:creator><![CDATA[cali1981]]></dc:creator><pubDate>Wed, 12 Dec 2007 00:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP.NET] Ridimensionare immagine e salvarla on Sun, 09 Dec 2007 15:35:30 GMT]]></title><description><![CDATA[<p dir="auto">ok grazie!!</p>
]]></description><link>https://dev.connect.gt/post/648245</link><guid isPermaLink="true">https://dev.connect.gt/post/648245</guid><dc:creator><![CDATA[legolas8585]]></dc:creator><pubDate>Sun, 09 Dec 2007 15:35:30 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP.NET] Ridimensionare immagine e salvarla on Sun, 09 Dec 2007 14:25:04 GMT]]></title><description><![CDATA[<p dir="auto">In <a href="http://asp.net" rel="nofollow ugc">asp.net</a> non servono dll esterne, cerca "<a href="http://asp.net" rel="nofollow ugc">asp.net</a> resize images" o simile su google troverai quanto codice vuoi!</p>
]]></description><link>https://dev.connect.gt/post/648227</link><guid isPermaLink="true">https://dev.connect.gt/post/648227</guid><dc:creator><![CDATA[cali1981]]></dc:creator><pubDate>Sun, 09 Dec 2007 14:25:04 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP.NET] Ridimensionare immagine e salvarla on Sun, 02 Dec 2007 20:49:02 GMT]]></title><description><![CDATA[<p dir="auto">no....<br />
sono su aruba, quindi tanti saluti alle dll.....</p>
<p dir="auto">non c'è qualcosa in giro che riduca e salvi l'immagine senza usare dll?</p>
<p dir="auto">signore che casino.......<br />
grazie comunque!</p>
]]></description><link>https://dev.connect.gt/post/648243</link><guid isPermaLink="true">https://dev.connect.gt/post/648243</guid><dc:creator><![CDATA[legolas8585]]></dc:creator><pubDate>Sun, 02 Dec 2007 20:49:02 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP.NET] Ridimensionare immagine e salvarla on Sun, 02 Dec 2007 17:46:13 GMT]]></title><description><![CDATA[<p dir="auto">Ciao,<br />
per avere un messaggio di errore più esplicativo dovresti inserire l'opzione Debug="true" nella direttiva @page della tua pagina aspx.</p>
<p dir="auto">Inoltre sei sicuro di disporre dei componenti (DLL) che utilizzi nello script (ImgSize ed ASPImage)?</p>
<p dir="auto"><img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/54a3bffb-5e4a-4eb8-81dc-99b2072e5d05-175.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--ciauz" style="height:1.4em;width:auto;vertical-align:middle" title=":ciauz:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/648235</link><guid isPermaLink="true">https://dev.connect.gt/post/648235</guid><dc:creator><![CDATA[paocavo]]></dc:creator><pubDate>Sun, 02 Dec 2007 17:46:13 GMT</pubDate></item></channel></rss>