Solved

asp script or component to resize images automatically

Posted on 2006-10-20
4
226 Views
Last Modified: 2010-04-16
Hi guys,

I am making a photo album which lets users upload their photos through the site, however I need to resize their images to become a thumbnail size and also rename the pictures name as well randomly, is there any free component to to do that?

thanks
0
Comment
Question by:huang_ck
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
mvidas earned 500 total points
ID: 17776331
Hi huang,

CrazyBeaver has a free thing to do this that I used in the past, I think its called ImageSizer or ImageResizer, let me find it
Yes, ImageResizer: http://www.crazybeavers.se/products_imagerresizer.asp

I ended up changing to ImageMagick (http://www.imagemagick.org/script/index.php) which you could probably use from an asp page with java (though I changed to a php page now).

Either one of those should do what you need though
Matt
0
 
LVL 35

Expert Comment

by:mvidas
ID: 17776549
Also, though I'm assuming you want the thumbnail sized pic to save on load time, you can always 'resize' them using the img width/height/etc like
     response.write ("<img src=""" & f.Name & """ width=800><BR>")

I really think you werent referring to that, but I thought I'd throw it out there.
As for renaming the picture randomly, a script should be easy enough to write. If you'd like it in vbscript I can write one up quick for you (please provide an idea for what you want the names to be, unless you truly mean random); for javascript someone else would have to do that for you.
For mine, I used the image resizer and just added _small and _thumb to the filenames to distinguish between sizes
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
countHi challenge 25 98
strCopies  challenge 17 82
groovy example issue 10 90
C# application error "Parameter Is Not Valid". 3 79
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now