?
Solved

asp script or component to resize images automatically

Posted on 2006-10-20
4
Medium Priority
?
233 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
2 Comments
 
LVL 35

Accepted Solution

by:
mvidas earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

850 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