Skip to main content
1 of 3
more770
  • 65
  • 1
  • 13

Unpload and image in a form programmatically

I'm doing programatically a form and I need to give the option to unpload and image and give the option to resize it ( like cropping option ). I don't know how to do it, I know that I need to unpload the image to a directory and also I supose that I need to show a relation between the node and the image in the database. I've created a field call field_img.

So, how can I do it?

Can anybody help me?

Thank you very much.

more770
  • 65
  • 1
  • 13