click-clack-cc / click-clack

https://click-clack.cc
1 stars 0 forks source link

Support for different image aspect ratios #21

Open szabodanika opened 4 years ago

szabodanika commented 4 years ago

Currently all images uploaded to keyboards, posts and listings are scaled to 1920x1080 regardless of their original resolution and aspect ratio. This is mainly because the carousel that we use cannot handle transition between images of different aspect ratios, it looks really ugly as the UI jumps up and down. To solve this, we have two options

1. Instagram style solution Let the user decide on an aspect ratio and resize all their uploaded images in that certain gallery to that ratio.

2. Replace the carousel Either find a carousel that can handle images with different aspect ratios in a good looking way or remove the carousel and on the Post/Listing/KeyboardSmall card only display the first image and have all the images laid out in a gallery when you open the page for that item.