Earlier after deleting product admin or users (whoever have system access) have to manually delete deleted product images. With this commit controller will handle the image delete only if it is uploaded by the user (images inside "/upload" folder).
Thanks @VighneshManjrekar
I won't merge immediately as I need to document the changes for students to follow and just a bit busy with other stuff right now.
Earlier after deleting product admin or users (whoever have system access) have to manually delete deleted product images. With this commit controller will handle the image delete only if it is uploaded by the user (images inside "/upload" folder).