# 图片上传，使用相对路径而非完整路径

**URL:** <https://meta.discourse.org/t/image-upload-relative-path-instead-of-full-path/79533>\
**Category:** Product Support\
**Created:** [2018 年2 月 1 日 09:41 UTC](https://meta.discourse.org/t/image-upload-relative-path-instead-of-full-path/79533 "2018-02-01T09:41:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)\
发布日期： [2018 年2 月 1 日 10:26 UTC](https://meta.discourse.org/t/image-upload-relative-path-instead-of-full-path/79533/3 "2018-02-01T10:26:09Z")

</div>

We use a SSH tunel to connect to our discourse from outside.

ext ([external.com](http://external.com)) → int ([example.com](http://example.com)) but of course, all image are broken. With the relative path, there will be no problem.  
In fact, why this is not relative path by default ?

---

_[View the full topic](https://meta.discourse.org/t/image-upload-relative-path-instead-of-full-path/79533)._
