Varun Srinivasan pfp
Varun Srinivasan
@v
We just shipped some improvements to image upload today. If you see any issues uploading images after today, please reply with: 1. platform (desktop/ios/android) 2. connectivity (wifi or 3g) thank you, this will really help improve image performance.
5 replies
30 recasts
93 reactions

xh3b4sd ↑ pfp
xh3b4sd ↑
@xh3b4sd.eth
Can we see somewhere how you improved this? I have an issue for my app to support image uploads, and it would be awesome if I could learn from someone who has a lot of experience with this.
1 reply
0 recast
0 reaction

Varun Srinivasan pfp
Varun Srinivasan
@v
the big changes that @gt made were: 1. resizing images to a max of 2000 x 2000 before uploading 2. always setting the mime type correctly before uploading
1 reply
0 recast
1 reaction

Goksu Toprak pfp
Goksu Toprak
@gt
@xh3b4sd.eth — In addition to what Varun shared above. I think we are realizing that for mobile devices especially you have to aggressively compress images before attempting to do a full res upload. Smaller the amount that has to go over the wire the better. Seems pretty obvious in hindsight!
1 reply
0 recast
1 reaction

Rodrigo Bardin pfp
Rodrigo Bardin
@rodrigobardin
how much is compressed right now? say i upload a 2000x2000 image exported at a decent quality and below, say, 5mb. do you still compress it? plus, any difference between what is displayed on the feed and then as an overlay (see below)? https://warpcast.com/rodrigobardin/0x1fcc71ce
1 reply
0 recast
0 reaction

Goksu Toprak pfp
Goksu Toprak
@gt
2000x2000 and below 5MB should be fine. You can use the Warpcast web client for anything above these and try as we are more permissive there. (Since mobile limitations are network / memory bound more than web) In terms of what is shown in feed vs. when focused — yes you are correct! They are different. Focused state will show the original image that was uploaded. (Even original will have some compression through Cloudflare not something we can control unless we build our own image storage infra) In terms of your reference around "feed drastically decreased" — don't believe we had major drop applied to quality recently.
2 replies
0 recast
1 reaction