CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> Archive -> GotoCode Archive

 ASP: Thumbnail Image creator

Print topic Send  topic

Author Message
Posted: 12/12/2003, 2:51 PM

Does Anyone know how to create thumbnail image while uploading pictures in ASP? My server does not have ASP component ASPThumbnailer.Thumbnail.
Help please
Thanks San
Mehmet Ozdemir
Posted: 12/14/2003, 2:16 AM

I had exactly the same problem, the hosting company refused to install ASPImage on the server. Fortunately they server also hosted PHP. I just grabbed some existing php code then simply called the php page (whos sole purpose was image rescaling) from asp. see here:

Dim xmlhttp

set xmlhttp = server.createobject("Msxml2.xmlhttp") "GET", "http://" & application("base_url") & "thumbnailer/thumbnail.php?gd=2&src=../" & application("product_images_large") & Products.FileUpload1.Value & "&maxw=500&savepath="&application("product_images_med"), False

so the page being called is thumbnailer.php

works great !


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.