Let’s say I have a model called X with a simple form with 2 imputs, a title and a description. Now I want to add a new imput to upload an image, save it into a folder and rename it.
I’ve followed a few tutorials but I can’t make this work correctly.
Any ideas?
Thanks
EDIT: it would be nice to save the image url into the database