PHP Image upload
Posted 16 July 2006 - 10:05 AM
I am new to PHP and am in need of some help.
I am working with an image upload script.
What I want is for users to be able to upload, say image.jpg.
However I want the width of image.jpg to be set to 240 pixels, and for a thumbnail of image.jpg, which I shall call image_t.jpg to be also created in the upload folder and set to a width of 75 pixels.
Posted 16 July 2006 - 10:27 AM
Those links helped me figure out how to ensure that two separately named copies of the image got to server. Now if someone can just help me figure out how to set the widths in pixels.
Note: These may be GIFs, JPGs, or PNGs. I think the resizing differs for each.
Thanks again GR!
Posted 16 July 2006 - 10:28 AM
[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture
all the brothers were valiant!
Posted 16 July 2006 - 10:59 AM
Thank you. Your code was exactly what I was looking for. Simple and straight to the point.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users