TandoorRecipes/recipes

Image rotation not taken into account when downsampling recipe image

Open

#4,765 opened on Aug 1, 2026

 (3 comments) (0 reactions) (0 assignees)HTML (500 forks)batch import
backendgood first issuehelp wanted

Repository metrics

Stars
 (4,470 stars)
PR merge metrics
 (Avg merge 33d 23h) (18 merged PRs in 30d)

Description

Tandoor Version

2.6.13

Setup

Docker / Docker-Compose

Reverse Proxy

Traefik

Other

No response

Bug description

When attaching this image to any recipe, it gets rotated 90 degrees to the left. But not for the small preview.

The metadata contain the Orientation tag which seems to be honored by the preview, but not by the downsampling operation.

$ exiftool 20260801_175525.jpg | grep Orientation
Orientation                     : Rotate 90 CW

Preview:

Final:

20260801_175525.jpg.zip

Relevant logs

Contributor guide