UploadForm - Erase Old Upload when Adding New One

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 2, 2015   (RSS)

By Perchpole - January 29, 2015

Here's the nutty thought for the day...

Using uploadForm, when uploading an image, would it be possible to overwrite/delete the existing one? 

There's method in my madness!

:0)

Perchpole

By claire - January 30, 2015

Hi Perch

If you need to just get the most recent upload, that's easy enough to do in code. What exactly do you need?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Perchpole - January 30, 2015

Hi, Claire

There are a couple of instances when it would be simpler to be dealing with just one image at a time. An example would be a user's profile pic. When they upload a new photo the old image should be deleted automatically.

How could I add this functionlaity to the UploadForm3 script which is available on this site?

Thanks,

Perch