Testing how to store photo in PG