Solved

asp script or component to resize images automatically

Posted on 2006-10-20
4
227 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum6 challenge 6 86
topping2 challenge 13 90
listing all functions in JavaScript 19 200
Help to convert powershell script into a gui 9 169
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is an explanation of a simple data model to help parse a JSON feed
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

776 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