DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> Photography Discussion >> Multiple versions of one upload
Pages:  
Showing posts 1 - 4 of 4, (reverse)
AuthorThread
10/12/2007 12:13:33 PM · #1
Hi guys,

I have a site where I need to upload images that people can download and use for PC desktops. This is simple enough, but can it be done by just uploading one image and creating the different screen sizes by adding multiple upload image transactions to the same file field? Thanks!
10/12/2007 04:15:35 PM · #2
Upload to flickr.com, it's free. And I think it creates different sizes scaled down from the largest size.
10/12/2007 04:52:31 PM · #3
Is this your site or somebody else's?

It depends on the site programming. Are you writing the pages? With PHP? Linux OS or Windows or other?

It's easy to do. If you're writing PHP on a Linux machine with Image Magick installed, for example:


# Other file upload stuff, save your image as $file.$ext, then...

`convert -quality 90 -resize 1280x1024 $file.$ext $file.1280.ext`;
`convert -quality 90 -resize 1024x768 $file.$ext $file.1024.ext`;
`convert -quality 90 -resize 640x640 $file.$ext $file.640.ext`;
?>

Alternately you can upload 3 separate files in a single HTML form, but you have to program the form to have 3 file fields. Above is easier and better for bandwidth.

EDIT: Oops - $file_1024 will get interpreted as a variable name and return nothing. I always make this mistake. =) But you get the idea. Changed to $file.1024.$ext

Message edited by author 2007-10-12 16:53:44.
10/13/2007 07:54:37 AM · #4

Yes! I use imageupload.com for uploading my images. It̢۪s provides lots of facilities to upload images. I have joined many forums and blogs so I̢۪m continue using this site. I would prefer you this site. Hope this will help you. Good luck!

Pages:  
Current Server Time: 08/27/2025 07:12:47 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 08/27/2025 07:12:47 AM EDT.