more generic photo edit form