You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow uploading larger screenshots on devhub #5385
The developer hub must allow image uploads of up to 1280x800, both in PNG and JPG format. I believe we already do post-upload processing to ensure the images have a reasonable file size, but if I'm wrong about it, we need to do something like that.
I believe we do allow larger screenshots to be uploaded, but then downscale them. Is 1280x800 to be the new standard size, or are you asking for an additional size in addition to 700x525?
What is accepted in the upload form. If we're already accepting 1280x800 or larger, then we're good on this point.
What dimensions of thumbnails are we generating from these uploads. The Chrome Web Store recommends 1280x800 or 640x400, so ideally we should aim for the same ratio to make developers' lives easier.
@jvillalobos can you clarify what thumbnail size we want? Currently we generate 200x150. You want to increase that to 640x400? (Is that not a little large for a thumbnail?)
1280x800 and 640x400 are the dimensions recommended to developers by the Chrome Store. I suggest we use the same aspect ratio for the thumbnails we generate, but not necessarily the same size. We could aim for something like 320x200, which is close to the current sizes.
From discussion:
We're going to create a single max 1280x800 preview, and a 320x200 thumbnail.
Frontend will initially consume this 1280x800 preview and display at full size (or whatever fits on screen) but will also look at using srcset to use other sizes - and addons-server will return other sizes when we know what we need.
I've checked the devhub screenshot upload component on AMO stage by uploading several image types of various sizes
I haven't noticed issues at upload and the previews are generated.
I have found that the new thumbnail size is breaking the layout of add-on reviews page for which I filed #5673
I'm going to mark the issue as verified fixed on AMO stage with FF60, WIn10x64
Activity
jvillalobos commentedon Mar 23, 2018
This maximum is the same that the Google Chrome Store sets, which makes it easier for developers to have the same/similar images for both listings.
eviljeff commentedon Mar 26, 2018
I believe we do allow larger screenshots to be uploaded, but then downscale them. Is 1280x800 to be the new standard size, or are you asking for an additional size in addition to 700x525?
jvillalobos commentedon Mar 26, 2018
There are a few things at play:
eviljeff commentedon Jun 14, 2018
@jvillalobos can you clarify what thumbnail size we want? Currently we generate 200x150. You want to increase that to 640x400? (Is that not a little large for a thumbnail?)
jvillalobos commentedon Jun 14, 2018
1280x800 and 640x400 are the dimensions recommended to developers by the Chrome Store. I suggest we use the same aspect ratio for the thumbnails we generate, but not necessarily the same size. We could aim for something like 320x200, which is close to the current sizes.
eviljeff commentedon Jun 15, 2018
From discussion:
We're going to create a single max 1280x800 preview, and a 320x200 thumbnail.
Frontend will initially consume this 1280x800 preview and display at full size (or whatever fits on screen) but will also look at using
srcsetto use other sizes - and addons-server will return other sizes when we know what we need.eviljeff commentedon Jun 15, 2018
Discussion with @willdurand ^ (need link to srcset issue)
willdurand commentedon Jun 15, 2018
strict? or max size? 😋
eviljeff commentedon Jun 15, 2018
max 😆
AlexandraMoga commentedon Jun 20, 2018
I've checked the devhub screenshot upload component on AMO stage by uploading several image types of various sizes
I haven't noticed issues at upload and the previews are generated.
I have found that the new thumbnail size is breaking the layout of add-on reviews page for which I filed #5673
I'm going to mark the issue as verified fixed on AMO stage with FF60, WIn10x64