Jump to content

[SOLVED] multi image upload and two thumbnails.....HOW?


StefanRSA

Recommended Posts

I am searching around for a script or tutorial helping to do the following:

 

I have a form that will capture user data and want to add 4 image upload fields.

On submit I want the 4 images to be uploaded and two thumbnail images created for each image to comply to size on screen and size on disk... Save each individual image name and uploaded folder url linked to the uploaded form to a MySql DB for later display...

 

I found a lot of scripts that can create only 1 thumbnail and also a link to the original uploaded image... (Size might be to big????!!! People that will upload these images is not web orientated and might upload images over 300kb... To big for display on a web......???)

 

Is there anybody that can direct me in doing what I want to do???

 

Thanks

Link to comment
Share on other sites

Hi Flyhoney.

 

I now could get to the point where I can upload the images and create thumbnails, save it to a folder and make an entry to the db to allocate the images to a document. But I dont understand how GD or ImageMagick can munipulate the size of these created thumnails.

 

Can you shed light on this... PLEASE?

I want the server to create two new images of the one uploaded... One for Thumbnail with width 65pix and another with width of max 250pix. This is just to set a standard of image size for the site.

 

I know I can manipulate the image size with html but this will make just the image apear smaller but do nothing for size on disk and if I do it the other way around I loose picture quality...

 

Can you or anybody shed some light on this for me please ???

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.