Location where the picture was uploaded can be taken by the IP address, is not accurate but at least it will tell the nearest city. Location where the picture was taken is usually in the image exif data, few cameras with GPS can print that in the image.
IP adress for each individual image upload is always being stored while the location of the uploaded image is not always present. Problem is that unless we map IP address to locations the IP address don't work to do things like make a list of images uploaded in a certain place.