Cannot upload image with paste #3650

Closed
opened 2026-02-05 07:09:48 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @rgkirch on GitHub (Mar 19, 2023).

Describe the Bug

I try to paste an image with Ctrl+V
like this
image
I just hit Ctrl+V in github and it uploaded the image.
I set APP_DEBUG=true as an env variable but I'm not seeing anything useful in the logs. Only this:
bookstack | bookstack:80 172.23.64.4 - - [18/Mar/2023:20:50:00 -0400] "POST /images/gallery HTTP/1.1" 500 1661 "http://bookstack.delta.local/books/getting-comfy-with-docker-compose/page/logging-and-monitoring/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

Steps to Reproduce

I take a screenshot on windows with Win+Shift+S
I paste with Ctrl+V

Expected Behaviour

image uploads

Screenshots or Additional Context

No response

Browser Details

chrome 111.0.5563.65 windows 10

Exact BookStack Version

BookStack v23.02.1

PHP Version

8.2.3

Hosting Environment

solidnerd/bookstack:23.2.1

Originally created by @rgkirch on GitHub (Mar 19, 2023). ### Describe the Bug I try to paste an image with Ctrl+V like this ![image](https://user-images.githubusercontent.com/6143833/226147829-c114d9f0-5f93-410d-aa54-821bf1127464.png) I just hit Ctrl+V in github and it uploaded the image. I set APP_DEBUG=true as an env variable but I'm not seeing anything useful in the logs. Only this: `bookstack | bookstack:80 172.23.64.4 - - [18/Mar/2023:20:50:00 -0400] "POST /images/gallery HTTP/1.1" 500 1661 "http://bookstack.delta.local/books/getting-comfy-with-docker-compose/page/logging-and-monitoring/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"` ### Steps to Reproduce I take a screenshot on windows with Win+Shift+S I paste with Ctrl+V ### Expected Behaviour image uploads ### Screenshots or Additional Context _No response_ ### Browser Details chrome 111.0.5563.65 windows 10 ### Exact BookStack Version BookStack v23.02.1 ### PHP Version 8.2.3 ### Hosting Environment solidnerd/bookstack:23.2.1
OVERLORD added the 🐛 Bug label 2026-02-05 07:09:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3650