Clicking on an uploaded image shows incorrectly #5405

Open
opened 2026-02-05 10:02:26 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @KevinMaatman on GitHub (Aug 20, 2025).

Describe the Bug

If you upload a picture and place it as content in a page, the image becomes clickable. When a user clicks on it, the image opens, but does not display correctly. The image does not open fully, instead it opens in the background and the look/display is messed up.

Steps to Reproduce

  1. Create a page
  2. Upload a picture
  3. Place the picture in the page's content
  4. Save the page
  5. Click on the picture, the image opens in the background instead of foreground.

Expected Behaviour

The image should open fully in the foreground or should open in a new tab if this is not possible.

Screenshots or Additional Context

Image uploaded, without clicking on it
Image

Image uploaded and clicking on the image, showing the image opens up as a popup in the background
Image

Browser Details

Any browser

Exact BookStack Version

v25.07

Originally created by @KevinMaatman on GitHub (Aug 20, 2025). ### Describe the Bug If you upload a picture and place it as content in a page, the image becomes clickable. When a user clicks on it, the image opens, but does not display correctly. The image does not open fully, instead it opens in the background and the look/display is messed up. ### Steps to Reproduce 1. Create a page 2. Upload a picture 3. Place the picture in the page's content 4. Save the page 5. Click on the picture, the image opens in the background instead of foreground. ### Expected Behaviour The image should open fully in the foreground or should open in a new tab if this is not possible. ### Screenshots or Additional Context **Image uploaded, without clicking on it** <img width="1673" height="1042" alt="Image" src="https://github.com/user-attachments/assets/44fecb02-dfc2-4e0f-b2d4-b6be7c87def1" /> **Image uploaded and clicking on the image, showing the image opens up as a popup in the background** <img width="1701" height="1056" alt="Image" src="https://github.com/user-attachments/assets/005af6ef-affe-4e6e-8109-c152092c9246" /> ### Browser Details Any browser ### Exact BookStack Version v25.07
OVERLORD added the 🐛 Bug label 2026-02-05 10:02:26 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 23, 2025):

Hi @KevinMaatman,
Do you have active customisations on your instance?

By default BookStack should open images in a new tab, there's no built-in functionality for showing as a popup like your image shows.

@ssddanbrown commented on GitHub (Aug 23, 2025): Hi @KevinMaatman, Do you have active customisations on your instance? By default BookStack should open images in a new tab, there's no built-in functionality for showing as a popup like your image shows.
Author
Owner

@KevinMaatman commented on GitHub (Aug 25, 2025):

Hi @KevinMaatman, Do you have active customisations on your instance?

By default BookStack should open images in a new tab, there's no built-in functionality for showing as a popup like your image shows.

Hello @ssddanbrown ,

No we do not have any kind of customizations other than what is allowed within the Settings > Customizations page (changing the logo, etc...)

We've also modified the login form a little, but no more than that.

@KevinMaatman commented on GitHub (Aug 25, 2025): > Hi [@KevinMaatman](https://github.com/KevinMaatman), Do you have active customisations on your instance? > > By default BookStack should open images in a new tab, there's no built-in functionality for showing as a popup like your image shows. Hello @ssddanbrown , No we do not have any kind of customizations other than what is allowed within the Settings > Customizations page (changing the logo, etc...) We've also modified the login form a little, but no more than that.
Author
Owner

@ssddanbrown commented on GitHub (Aug 25, 2025):

@KevinMaatman Are you sure you don't have something like this added somewhere?:
https://github.com/BookStackApp/BookStack/issues/464#issuecomment-1960378448

Either as custom head content or via the theme system?
Or maybe a browser extension related to showing images in a popup?
Not sure why you'd have such functionality otherwise since it's not built-in.

@ssddanbrown commented on GitHub (Aug 25, 2025): @KevinMaatman Are you sure you don't have something like this added somewhere?: https://github.com/BookStackApp/BookStack/issues/464#issuecomment-1960378448 Either as custom head content or via the theme system? Or maybe a browser extension related to showing images in a popup? Not sure why you'd have such functionality otherwise since it's not built-in.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5405