Minds / minds

mirror of https://gitlab.com/minds/minds
https://www.minds.com
Other
712 stars 202 forks source link

photos not showing up feeds #139

Closed dsun29 closed 5 years ago

dsun29 commented 5 years ago

after successful install I tried to post a feed with photo and texts. However, the photo I selected is not showing up in the feed. Instead, a yellow bulb(Mind's logo) is showing up. And it shows black rectangle if I click the yellow bulb. The texts are there.

Are photos stored in Cassandra, MongoDB, or some file system? I cannot find particular errors in the docker logs for image upload/storage.

dsun29 commented 5 years ago

This error is a result of wrong url. Eg,

http://localhost:8080/en/api/v1/media/thumbnails/906315340034609160/large

should be

http://localhost:8080/api/v1/media/thumbnails/906315340034609160/large

Serkan-devel commented 5 years ago

@dsun29 I think it should be xlarge instead of large at the end of the URL

dsun29 commented 5 years ago

@Serkan-devel it is large for sure. I got the link first from Chrome the browser, then from line 34 of engine/Controllers/api/v1/media.php

However, in the Cassandra database, the filename is image/0/906315340034609160/xlarge.jpg

dsun29 commented 5 years ago

this error can be fixed by removing ""/en" from cdn_url.

Another option is to manipulate the values of Entity->paywall field. I am so new to Minds that I have not figured out what paywall is for.