Jump to content

uploading multiple image files


bm4499

Recommended Posts

Does anyone has a php script that uploads several (variable) images (e.g. bmp/png/gif) to the online temp dir?

 

You'll be really lucky to find something that does exactly what you want, e.g. do you know whether you want it to crop images to exact dimensions, or just resize the images to the longest edge. Do you know whether the initial source images will always be the same orientation and dimensions, etc.

I suggest you need to work out exactly what you need the script to do, then look to create your own script using the GD functions. It'll take quite a bit of time and effort, but it'll be worth it because that's probably the only way to get an image upload/resize script that does exactly what you need.

 

I also need to know how many pixels, both height and width, are used for us-letter page size.

 

This is impossible, because a pixel is a different size depending on the monitor resolution, so a pixel is a measurement that's only relevant to monitors. It can't be translated into real physical dimensions.

...I guess it's kind of like trying to convert inches into litres  :D

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.