fixed bug with uppercase chars in photo/image filenames