bm4499 Posted December 18, 2009 Share Posted December 18, 2009 Does anyone has a php script that uploads several (variable) images (e.g. bmp/png/gif) to the online temp dir? I also need to know how many pixels, both height and width, are used for us-letter page size. Quote Link to comment Share on other sites More sharing options...
teynon Posted December 18, 2009 Share Posted December 18, 2009 I'm not going to do this one for you because I'm lazy. There are plenty of PHP upload scripts on the web, do a google search for PHP upload script and then look into the GD library to determine your dimension. PHP.net and look up GD Quote Link to comment Share on other sites More sharing options...
steveboj Posted December 18, 2009 Share Posted December 18, 2009 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 Quote Link to comment Share on other sites More sharing options...
andrew101 Posted December 18, 2009 Share Posted December 18, 2009 go to google and type in "upload image php" and youll find it, codes are not free, i use to be in your shoes, learning it is much better. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.