-
Notifications
You must be signed in to change notification settings - Fork 884
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
- My image file intended to be a reel's thumbnail has dimensions 1080x1920px (9:16 in aspect ratio)
After uploading a reel with the video file, caption and image file (path for the thumbnail), - In my account's posts tab/view, the thumbnail was cropped to 4:5 (1080x1350px. this is normal behavior)
- In my account's reels tab/view, the thumbnail was cropped AGAIN to 9:16 (759.375x1350px)
This meant that my thumbnail image essentially got zoomed into and had the outer region cropped out in the reels tab/view. This should not be the case. Thethumbnail=field in clip_upload() (according to this documentation, clip_upload() is the method for uploading a reel clip) should reflect what the reel thumbnail should like, with the thumbnail in the posts version being cropped based off of that.
To Reproduce
Choose a 9:16 image to upload as the thumbnail.
Then, call
cl.clip_upload(
path=output_path,
caption=caption,
thumbnail=cover_path
)
where cover_path is the path to the image.
Traceback
N/A
Expected behavior
- In my account's reels tab/view, the thumbnail should've been displayed with no cropping: 9:16 (1080x1920px)
- In my account's posts tab/view, the thumbnail is cropped version of that, 4:5 (1080x1350px)
Desktop (please complete the following information):
- OS: Windows 10
- Python version 3.11.9
- instagrapi version 2.2.1
Additional context
I believe this issue may arise because thumbnail is set for the posts tab/view rather than the reels tab/view, causing the latter to derive (hence cropping) the thumbnail from the former.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

