CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 ASP: Thumbnail Image creator

Print topic Send  topic

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

Hi,
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")
xmlhttp.open "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
xmlhttp.send

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 http://support.yessoftware.com.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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