Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

asp script or component to resize images automatically

Posted on 2006-10-20
4
Medium Priority
?
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Six Sigma Control Plans
Starting up a Project

636 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