trim picture url