trip uploaded photo can now be saved in database
fix trip photo upload problem