added location info to images, fixed bugs with delete