Comments (3)
Yeah. This is how it is for now. I have no real solution yet.
from photos.
Ah, I understand why.
The preview manager use the maximum, meaning if your picture is 2560*1000, and you request for a 256px, instead of being 655x256, it will be 256x100 (which make sense)
But since we're cropping the images and fitting them to a square...
The preview manager have an option to request a square (&a=false
) but the cropping is not centered, so maybe we could fix this?
Because this works well in landscapes, but not in portrait
(cropping is done for the width, but not the height: https://github.com/nextcloud/server/blob/5bf3d1bb384da56adbf205752be8f840aac3b0c5/lib/private/Preview/Generator.php#L388)
from photos.
Just tried it, works nicely!
from photos.
Related Issues (20)
- getimagesizefromstring(): PNG file corrupted by ASCII conversion at /var/www/html/apps/photos/lib/Listener/SizeMetadataProvider.php#56
- New albums picker in albums broken HOT 3
- [PHP] Error: getimagesizefromstring(): Error reading from ! at /var/www/html/nextcloud/apps/photos/lib/Listener/SizeMetadataProvider.php#56 from ? HOT 3
- GenericFileException Error while generating metadata HOT 3
- [BITV] Incorrect heading hierarchy
- [BITV]: Not possible to close left sidebar on small screens
- [Bug]: Not possible to add any media to the album HOT 2
- [BITV]: double scrollbar appears in a file picker dialog
- [BITV]: Wrong attributes `aria-label` on `<span>` HOT 1
- PDF Thumbnails shown as independent pictures in "Photos" view
- [BITV] Modal close button overlaps content HOT 2
- GenerateMetadataJob: Invalid coordinate format: ["0\/0"]
- Back button not visible when sidebar open HOT 1
- Add Support to additional folders by changing reworking "Choose another folder" to "Add folder" HOT 3
- Common address/URL for shared albums
- i18n: Need context and improving source string HOT 4
- NC 28 - Photos on external drives are no longer found and shown in the photo overview HOT 4
- Photos uploaded becomes binary
- Folders in Group folders don't appear un folder view HOT 2
- labels, captions, tags , directly from photos ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photos.