When we started this project the permissions somehow got messed up on the server so we can't make any more directories. So whenever a user uploads a photo they all go to the same folder on the server. If two different users upload the same photo, it will say that it is already on the server "Sorry, space.jpg already exists.". Even though this user has no photos linked to their account when they go to the view tab.
How to fix: If we could make directories for every user, then we could separate all the user's photos and check only their photos on the server instead of everyone's photos on the server.
When we started this project the permissions somehow got messed up on the server so we can't make any more directories. So whenever a user uploads a photo they all go to the same folder on the server. If two different users upload the same photo, it will say that it is already on the server "Sorry, space.jpg already exists.". Even though this user has no photos linked to their account when they go to the view tab.
How to fix: If we could make directories for every user, then we could separate all the user's photos and check only their photos on the server instead of everyone's photos on the server.