Images Broken after a while #2389

Closed
opened 2026-02-05 03:55:30 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @towerplease on GitHub (Sep 14, 2021).

We tested BookStack internaly as a documentary platform, we filled some tutorials and were happy first. After some time (3-4 Days) all images we inserted are broken and wont display, see here:
image

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create Page
  2. Upload pictures
  3. Wait some time
  4. View Page, images will be corrupted/not displayed

Expected behavior
The Image should be viewed/displayed all the time, without any problem.

Screenshots
If applicable, add screenshots to help explain your problem.
image
Opening the image in new Tab, gives this Error:
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): 21.08.3
  • PHP Version: 7.4
  • Hosting Method (Nginx/Apache/Docker): Apache on Ubuntu 20.04

Additional context
I re-added the pictures for some pages but the error was the same after some time.

Originally created by @towerplease on GitHub (Sep 14, 2021). We tested BookStack internaly as a documentary platform, we filled some tutorials and were happy first. After some time (3-4 Days) all images we inserted are broken and wont display, see here: ![image](https://user-images.githubusercontent.com/21177236/133218955-6bda77f2-c2cb-4577-b29e-7313d0b50798.png) **Steps To Reproduce** Steps to reproduce the behavior: 1. Create Page 2. Upload pictures 3. Wait some time 4. View Page, images will be corrupted/not displayed **Expected behavior** The Image should be viewed/displayed all the time, without any problem. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/21177236/133219157-a5144d37-696d-400a-8c2f-e2a8ecf66042.png) Opening the image in new Tab, gives this Error: ![image](https://user-images.githubusercontent.com/21177236/133219643-f7754101-aa09-4442-aa6b-321330877ecc.png) **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): 21.08.3 - PHP Version: 7.4 - Hosting Method (Nginx/Apache/Docker): Apache on Ubuntu 20.04 **Additional context** I re-added the pictures for some pages but the error was the same after some time.
Author
Owner

@towerplease commented on GitHub (Sep 14, 2021):

I investigated a little more and found the issue...

Problem is, the images were inserted by Copy&Paste from our current system, in which the images are inserted as inline Image-Links to the webadress of the current system. The current system has a security "feature" which changes the file URLs after some time.
So the solution is, to just add the pictures manually via Media-Manager and the problem is solved.

@towerplease commented on GitHub (Sep 14, 2021): I investigated a little more and found the issue... Problem is, the images were inserted by Copy&Paste from our current system, in which the images are inserted as inline Image-Links to the webadress of the current system. The current system has a security "feature" which changes the file URLs after some time. So the solution is, to just add the pictures manually via Media-Manager and the problem is solved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2389