apache / apache/answer

picture not diplay normally

Open
#667 21 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
15.7k
Forks
1.4k
Avg merge
3d 8h
Merged PRs (30d)
7

Description

**Describe the bug**
The picture in comment not display normally

**To Reproduce**
Steps to reproduce the behavior:
1. install the answer by `docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest`
2. update my avartar, it shows normally
3. post an answer
4. the picture in the answer post did not diplay normally but I can find it in the volume /data/upload/post

**Expected behavior**
The image shows normally

**Screenshots**
![image](https://github.com/apache/incubator-answer/assets/12556509/e53b91cf-cbd1-45e5-bd3c-963bd3756540)

![image](https://github.com/apache/incubator-answer/assets/12556509/184fc7f1-b9bf-402b-87ec-fa938880d99c)

**Platform (please complete the following information):**
- Device: [e.g. Desktop, Mobile]
- OS:
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
- Browser: microsoft Edge
- Version: docker image apache/answer latest d3da45f971e2 21 hours ago 110MB

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the documented docker run command, updating an avatar and posting an answer while checking /data/upload/post. Trace how the uploaded image is referenced and rendered in the answer post; done means the image stored in the mounted volume displays normally in the post.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.