I'm very new to HF, so this could definitely be user error! When I upload a photo as the main photo for a plant on mobile or desktop, only the left portion of the photo is shown in the regular view:
and the aspect ratio is busted when the photo is expanded:
Photos uploaded to the bottom section of the plant page look just fine:
Steps to reproduce the behavior:
On either desktop or mobile, go to a plant and choose to upload a photo in the main spot.
Choose a photo (I've used a 2.4 MB photo and a 550 KB photo) and upload it
After upload, the default view and expanded view will have the problem
Expected behavior
I'd at least expect the photo to stay centered, but if some subject-detecting code is involved to choose the portrait slice, then it might need a little guidance. Alternately, HF could state the dimensions we should crop our images to before uploading.
I'm very new to HF, so this could definitely be user error! When I upload a photo as the main photo for a plant on mobile or desktop, only the left portion of the photo is shown in the regular view:
and the aspect ratio is busted when the photo is expanded:![image](https://github.com/danielbrendel/hortusfox-web/assets/77019/c05871e6-4062-4122-850c-d9be47a80e07)
Photos uploaded to the bottom section of the plant page look just fine:![image](https://github.com/danielbrendel/hortusfox-web/assets/77019/5d4b59d3-70a7-4148-9e9e-00c9897f9794)
Steps to reproduce the behavior:
Expected behavior I'd at least expect the photo to stay centered, but if some subject-detecting code is involved to choose the portrait slice, then it might need a little guidance. Alternately, HF could state the dimensions we should crop our images to before uploading.
Desktop:
Smartphone: