# Bug OP-17792 - In-line images pasted from clipboard lost in project wikis

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-17792

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a user with permissions to create pages in a project's wiki

2.  Edit a page in a project's wiki

3.  Copy a screenshot taken from Microsoft Snipping tool

4.  Save the page

### What is the buggy behavior?

  - After a day or so, some images get replaced by a broken link (see screenshot below)

  - Opening the address (e.g. `https://openproject.silvascience.org/api/v3/attachments/2311/content`) of the missing content shows       
    `_type    "Error"`  
    `errorIdentifier    "urn:openproject-org:api:v3:errors:NotFound"`  
    `message    "The requested resource could not be found."`

  - The directory where the image should be saved  is empty.

### 

### 

### What is the expected behavior?

1.  The images should not disappear once the wiki page is properly saved

### **Logs**

The image loss occurred between the creation of the page (2025-08-13) and its report (2025-08-14). [The docker process log output between these dates](https://community.openproject.org/api/v3/attachments/777330/content) has been attached to this ticket.

### Screenshots and other files

*<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/777326/content">*

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

  - Docker-compose installation

**OpenProject version**

OpenProject 16.1.1

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

English
