adding absolution path in photo upload