Added new thumbnail paths to addPhotoToDB and getComplexPhotoData
functions.