owncloud / owncloud/ocis

Thumbnail preview returns HTTP 500 for high-resolution JPEG images

Open
#12,313 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 2h
Merged PRs (30d)
106

Description

### Description

When attempting to preview a large high-resolution JPEG image via the ownCloud web interface (public link), the thumbnail generation fails with an HTTP 500 error. The preview page shows "Failed to load" instead of the image.

### Steps to Reproduce

1. Upload a high-resolution JPEG image (12288×8192, ~38MB)
2. Share it via a public link
3. Open the file preview in the web interface

### Expected Behavior

The thumbnail preview should render the image successfully.

### Actual Behavior

The preview page shows "Failed to load [filename]". The browser console shows the thumbnail endpoint returning HTTP 500.

### Environment

- **OCIS version**: 8.0.2+af145c25 (Infinite Scale)
- **Web UI version**: 10.11.0
- **Browser**: Chromium

### Additional Notes

- The image can be downloaded via WebDAV without issues — the problem is specific to thumbnail/preview generation.
- The image is from a Hasselblad L3D-100c camera, JPEG format.
- The thumbnail endpoint returns 500 for all images in this high-resolution set, suggesting the issue may be related to image resolution (12288×8192) or file size (~38MB).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.