Shaobiao Lin

Results 34 comments of Shaobiao Lin
trafficstars

Cannot reproduce this on macOS. On macOS, `![Image](09_Java 语法.assets/image-20210630003516350.png)` won't be parsed as an image for there is a blank space. But `![Image](09_Java%20语法.assets/image-20210630003516350.png)` and `![Image](./09_Java%20语法.assets/image-20210630003516350.png)` both work fine. No errors...

> Thanks for the feedback. It seems that the storing avatars relies on absolute paths. Modifying it to a new domain could potentially introduce new issues. Saving them as relative...

@LinkinStars I found that all images in a question, answer or avatar have this issue. I've changed the issue title.

I would like to solve this issue once the solution is settled. 👀

@LinkinStars Thank you for your detailed response! ⚠️ I haven't read much of the relevant code yet so I might miss some background knowledge of Answer. I'll make a summary...

@LinkinStars This task seems heavy for a Go & Answer beginner (exactly me 🤣). If the coding job is real complicated under your estimation, I think it's better be done...

> Take it easy. You can try your best, and we will help you solve any problems together. 💪 @LinkinStars Okay then, I'll give it another try.

@LinkinStars I have another thought on **external storage type**... If the uploads dataset is huge, the migration could be very time-consuming because it needs to query & filter out **all**...

@LinkinStars Okay, it was just a thought. 👀 I would like to confirm some details: #### The env var Does this var need to be supported both in [Config File](https://answer.apache.org/docs/configfile)...

> Additionally, there is another requirement. We believe it would be helpful to provide an environment variable, `ABSOLUTE_IMAGE_PATH`, which users can set to true. In this way, Answer will default...