made photo names unique so no image gets overwritten when added