Jump to content

PHP Image upload


laide234

Recommended Posts

Hello all.
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 [color=red]image.jpg[/color].
However I want the width of [color=red]image.jpg[/color] to be set to 240 pixels, and for a thumbnail of [color=red]image.jpg[/color], which I shall call [color=red]image_t.jpg[/color] to be also created in the upload folder and set to a width of 75 pixels.

Please help.
Link to comment
https://forums.phpfreaks.com/topic/14759-php-image-upload/
Share on other sites

Thanks a bunch GingerRobot!! ;D
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!  ;)
Link to comment
https://forums.phpfreaks.com/topic/14759-php-image-upload/#findComment-58910
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.