This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, What is the best practice to update picture from front-end ? I have a form from front-end where my user can upload a picture and can come back in this form and update it too. Should I delete the old one and create a new one ? Or update the old one ? How can I do it ? Is there a way to update a picture. I didn't find it but maybe I miss it in the doc... Thanks
You can use Frontend Editors. http://octobercms.com/plugin/rainlab-editable http://octobercms.com/plugin/samuell-contenteditor Make the content editable. The user need an account and some rights to do this at the frontend
Last updated
Hi and thank you... In fact I have a form with an input file. And I have finally discover than in the database system_files, the picture name are well updated. It's just the old picture in the storage who stay so each time I update the picture, a new picture is created and the old one stay on the server. So I think the best way is to delete this picture before to create a new one. I will try.
1-3 of 3