Print Page | Close Window

ASPJPEG image upload and thumb create

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=18754
Printed Date: 29 March 2026 at 10:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASPJPEG image upload and thumb create
Posted By: cbr600
Subject: ASPJPEG image upload and thumb create
Date Posted: 17 March 2006 at 1:13pm
Hi:

I have been crazy looking for a sample code on how to upload a file and automatically create a thumbnail.

This is for a gallery i have, and it uploads with a form to a database, including a description field.

I would like the server to resize the image on upload, if its larger than say 800x600, and also creates a thumbnail of 100px wide, while upload its filename to the database.

database fields:
FOTO_ID (ex 33)
USER_ID (ex 41)
DESCRIPTION (ex "my brand new car")
FOTO_URL (ex "mynewcar.jpg")

The thumbnail would just be auto named mynewcar_thumb.jpg.
I also have aspimage installed on my host, so any of these would do.


Does anyone have a already created sample that i can use?

Thanks a million



Replies:
Posted By: lostcontrol
Date Posted: 17 March 2006 at 2:00pm
You can do this using ASPUpload + ASPJpeg... there are some easy to use samples in their site. However, your host needs to support the appropriate component in order to use it.
 
http://www.aspjpeg.com - http://www.aspjpeg.com


Posted By: MadDog
Date Posted: 17 March 2006 at 5:45pm
Also you can find all the examples you need on the components homepage.

-------------
http://www.iportalx.net" rel="nofollow">



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net