removing absolute path for pics