Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photos displayed multiple times in a post. #1525

Open
creativeghostfish opened this issue May 24, 2024 · 4 comments
Open

Photos displayed multiple times in a post. #1525

creativeghostfish opened this issue May 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@creativeghostfish
Copy link

Jerboa Version

0.0.66

Android Version + Phone

Android 14, Pixel 8

Describe The Bug

A single photo should be displayed, but multiple copies are displayed instead.

Screenshot_20240524-120001
Screenshot_20240524-115956
Screenshot_20240524-115950

To Reproduce

  1. Open Jerboa.
  2. Create a post with a photo.
  3. Add alt text to the photo.
  4. Save post.
  5. View post in app and see multiple copies of the photo displayed.
  6. View the same post in a browser and see the correct post with only one copy of the photo displayed.

In the case of a crash or when relevant include the logs

No response

@creativeghostfish creativeghostfish added the bug Something isn't working label May 24, 2024
@creativeghostfish
Copy link
Author

Here is a link to the post: https://lemmy.world/post/15763261

@MV-GH
Copy link
Collaborator

MV-GH commented May 24, 2024

Rest call GET https://lemmy.world/api/v3/post?id=15763261

Interesting the body contains the alt text
It only contains the link once so thats not it. I'll debug it later too see why its creating multiple images

![Political flier with a photo of Trump on the right side and various warning symbols throughout the text. There is a watermark on the flier that appears to be an eagle similar to other US symbols containing eagles. The text reads: VOTER ALERT. We see you haven't voted yet. Your voting record is public... Your neighbors are watching you and will know if you miss this ***critical runoff election.*** We will notify President Trump if you don't vote. You can't afford to have that on your record. **Our Republican values are at stake in this election.** 1) Border Security, 2) Property Taxes, and 3) Parental Empowerment. VOTE EARLY before the deadline this Friday, May 24th at 7:00pm or VOTE ON ELECTION DAY Tuesday, May 28th. NOTICE: We will contact you after the election to make sure you voted!](https://lemmy.world/pictrs/image/35db0446-1fbd-40f3-9809-6eb1cc3e2aa3.jpeg)\n\nNote: some slight edits have been made in the image description to aid in readability by screen readers. Specifically, the values listed have been enumerated for clarity and the specific symbols used as warning symbols have not been explicitly described. Additionally, some of the text formatting has not been carried over in this description. For example, the title (VOTER ALERT) is in large white text over a red banner at the top of the flier. It is my hope that leaving these particular descriptions out will aid in understanding the flier itself; however, should anyone prefer a description of these formatting choices I will be glad to attempt it.

How many times does it display?

@creativeghostfish
Copy link
Author

It is displaying 5 times on my end

@MV-GH
Copy link
Collaborator

MV-GH commented May 26, 2024

It's because of the *** if you remove those markdown markup from the alt text then only one image is displayed. I'll look further into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants