wrong image is returned to user #126
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Osprey
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
resilience
Tom's Wishlist
type: bug
type: discussion
type: error handling
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spee.ch#126
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue: A user will publish an image through spee.ch, but when they check the url, a different image is served to them.
ok so i can display the correct image if i void out the /media and use the href link with .png at the end
would this be an option or is the /media needed for something?
example:
go here https://spee.ch/423dac99270f7f17675d1114f5b80cc191e4e46a/non-closing.png
open developer tools -> copy href link -> paste link into
img
class (sometime href doesnt have .png so append that if needed)Gif of process:
https://spee.ch/e/display-correct-image.gif
before:
After:
Here's another one I just uploaded: https://spee.ch/b48717470b62676fc4e1ecc1f1bad66427d0a137/genwyn1 which shows some bitcoin download image
It should be showing this foxy lady: https://spee.ch/@randomnsfw:ce99ee6b2ad23a0d8a3fc66d017ab599d8be1b4d
Maybe something to do with the filename? It was download.jpg
@tzarebczan yes that the filename issue it servers
<img class="image-show" src="/media/download.jpg">
from media and it should be<img class="image-show" src="/b48717470b62676fc4e1ecc1f1bad66427d0a137/genwyn1.jpg">
we should serve the href link above in the a tag
atleast thats the quick fix i found
not sure why even use the media folder for serving id think wed just need that for lbry end
user uploads file, goes to media then it uses that folder to publish to lbry, found that using /claimid/image.jpeg, will serve the image so is media even necessary on clients end?
closing. fixed in current working branch redesign-1. thanks guys.