ProjectLibertyLabs / social-app-template

Social Application Template that uses Gateway Services
Apache License 2.0
1 stars 4 forks source link

bug/feat: Non-landscape oriented images are cutoff when displayed in the feed #152

Open mattheworris opened 3 months ago

mattheworris commented 3 months ago

Description

Images displayed in the feed are cropped when they are not oriented in landscape format.

Screenshot 2024-08-16 at 08 44 25 191-fa22-4b51-9927-36410075dd8a)

Expected

The entire image should be displayed, possibly with empty filler on the side as needed, just as long as the entire image can be viewed, but given the feed layout, the image should probably be able to be displayed in its native aspect ratio.

Testing

Attached are a couple of images that are cropped when displayed in the feed.

cant-stop together-we-build ![we-did-it](https://github.com/user-attachments/assets/29972

mattheworris commented 3 months ago

Note: in further testing, I noticed that if one resizes the browser window to be tall, more like a portrait orientation, then the images are no longer cut-off.