[GH-ISSUE #1011] No image in ebook but in readable and archive mode #439

Open
opened 2026-02-25 23:34:14 +03:00 by kerem · 0 comments
Owner

Originally created by @ynakao on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/1011

Data

  • Shiori version: Shiori version 1.7.1 (build 2315f0da40) at 2024-10-05T20:33:28Z
  • Database Engine: SQLite
  • Operating system: Arch Linux
  • CLI/Web interface/Web Extension: Web interface

Describe the bug / actual behavior

When I bookmark this article (A look at the aerc mail client [LWN.net]), there's a image in both readable and archive view, but the downloaded epub file has no image.

Expected behavior

The image file is in the epub.

To Reproduce

Steps to reproduce the behavior:

  1. Add the LWN article link to Shiori.
  2. Click Download Book icon.
  3. Open the book.

Screenshots

In readable mode, the image is displayed properly.

shiori

When I open the book in zathura, there's a link to the image instead of the actual image.

zathura

When I open it in foliate, however, the image is displayed properly. Maybe foliate downloads the image? There's no image in the epub itself, anyway.

foliate

Notes

I tried inspecting the original article's HTML section regarding the image, it seems the href is not the direct link to the image, and the actual image is in the nested img tag. This causes the problem, I guess?

<blockquote>
  <a href="/Articles/993503">
    <img src="https://static.lwn.net/images/2024/aerc.png" alt="[The aerc mailer]" title="The
    aerc mailer" vspace="5" hspace="5" class="photo">
  </a>
</blockquote>
Originally created by @ynakao on GitHub (Nov 14, 2024). Original GitHub issue: https://github.com/go-shiori/shiori/issues/1011 ## Data - **Shiori version**: Shiori version 1.7.1 (build 2315f0da403a2e5dca6841e83f0fac5f52e4a18f) at 2024-10-05T20:33:28Z - **Database Engine**: SQLite - **Operating system**: Arch Linux - **CLI/Web interface/Web Extension**: Web interface ## Describe the bug / actual behavior <!-- A clear and concise description of what the bug is. --> When I bookmark this article ([A look at the aerc mail client [LWN.net]](https://lwn.net//Articles/993498/)), there's a image in both readable and archive view, but the downloaded epub file has no image. ## Expected behavior <!-- A clear and concise description of what you expected to happen. --> The image file is in the epub. ## To Reproduce Steps to reproduce the behavior: 1. Add the LWN article link to Shiori. 2. Click `Download Book` icon. 3. Open the book. ## Screenshots <!-- If applicable, add screenshots to help explain your problem. --> In readable mode, the image is displayed properly. ![shiori](https://github.com/user-attachments/assets/f8f3c9ef-7dd8-4079-9da1-7147da1595c4) When I open the book in `zathura`, there's a link to the image instead of the actual image. ![zathura](https://github.com/user-attachments/assets/67b75834-5888-439c-b809-02d2a706e77b) When I open it in `foliate`, however, the image is displayed properly. Maybe foliate downloads the image? There's no image in the epub itself, anyway. ![foliate](https://github.com/user-attachments/assets/d6453572-36ff-4915-888b-c7583f558016) ## Notes <!-- Add any other context about the problem here. --> I tried inspecting the original article's HTML section regarding the image, it seems the href is not the direct link to the image, and the actual image is in the nested img tag. This causes the problem, I guess? ```html <blockquote> <a href="/Articles/993503"> <img src="https://static.lwn.net/images/2024/aerc.png" alt="[The aerc mailer]" title="The aerc mailer" vspace="5" hspace="5" class="photo"> </a> </blockquote> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#439
No description provided.