I have a setup where I can upload an image to a directory(creates original and thumb_ original) and store it's thumb_filepath in the mysql database. Works great. Now the problem is that every time I upload a new image, the old images(orginal and thumb_original) are being kept in the folder directory. I would like to know if there is a way to delete them and keep only the current uploaded image?
Back with another problem...profile image delete.
13
I have a setup where I can upload an image to a directory(creates original and thumb_ original) and store it's thumb_filepath in the mysql database. Works great.
Now the problem is that every time I upload a new image, the old images(orginal and thumb_original) are being kept in the folder directory. I would like to know if there is a way to delete them and keep only the current uploaded image?
Now the problem is that every time I upload a new image, the old images(orginal and thumb_original) are being kept in the folder directory. I would like to know if there is a way to delete them and keep only the current uploaded image?
- David Beroff
- [1] reply
- man5
- [1] reply
- man5
- [1] reply
- David Beroff
- [1] reply
- KirkMcD
- man5
Next Topics on Trending Feed
-
13