Add function to handle photos from the memory stick