Smartphone photos stored in landscape orientation with an EXIF rotation tag were being saved to S3 in the wrong orientation. Image.php read the raw pixel dimensions without first applying the EXIF tag, so portrait photos (e.g. 4032×3024 with Orientation=6) were classified and resized as landscape (1920×1080). Calling orient() immediately after read() physically rotates the image to match its EXIF orientation tag before any dimension checks or scaling. This ensures portrait photos remain portrait after processing. Intervention Image v3 reference: https://image.intervention.io/v3/modifying/orientation |
2 months ago | |
|---|---|---|
| .ddev | ||
| .github | ||
| .vscode | ||
| app | 2 months ago | |
| bootstrap | ||
| config | ||
| database | ||
| public | 2 months ago | |
| resources | 2 months ago | |
| routes | ||
| storage | ||
| tests | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.docker.example | ||
| .env.example | ||
| .env.testing | ||
| .gitattributes | ||
| .gitignore | ||
| .markdownlint.json | ||
| .node-version | ||
| .shellcheckrc | ||
| CHANGELOG.md | ||
| CODEOWNERS | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| DOCKER_COMPOSE_SETUP.md | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| artisan | ||
| composer.json | ||
| composer.lock | 3 months ago | |
| crowdin.yml | ||
| docker-compose.yml | ||
| funding.json | ||
| package-lock.json | 2 months ago | |
| package.json | 2 months ago | |
| phpunit.xml | ||
| server.php | ||
| webpack.mix.js | ||
README.md
Introduction
Photo sharing the way it should be. Pixelfed lets your casual shots and creative photography find their audience naturally, without algorithmic barriers. Join millions of people sharing across the fediverse.
Official Documentation
Documentation for Pixelfed can be found on the Pixelfed documentation website.
Run on YunoHost
Pixelfed app for YunoHost. See the package source code
License
Pixelfed is open-sourced software licensed under the AGPL license.
Communication
The ways you can communicate on the project are below. Before interacting, please read through the Code Of Conduct.
- Mastodon: @pixelfed@mastodon.social
- E-mail: hello@pixelfed.org
Pixelfed Sponsors
We would like to extend our thanks to the following sponsors for funding Pixelfed development. If you are interested in becoming a sponsor, please visit the Pixelfed Patreon Page
- NLnet Foundation and NGI0 Discovery, part of the Next Generation Internet initiative.
This project is supported by:
