updated to relative loc for images