Jump to content

Image upload and resize

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Bioshox

Bioshox

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 207 posts
Does anybody have the code for this?

I can't find an examples and I really need it!

Thanks so much x

#2
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
Image upload is just about everywhere, it's done by using a <input type="file"> in a multipart form, then handle the $_FILES variable. that part is treated in the tutorial: http://forum.codecal...-mysql-php.html
About resizing the images, you need to dig into the GD image modification library, more or less, you need to use the imagecopyresized function
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall