Why pack_product.py Renders Separate 1280×720 Covers and 600×600 Thumbnails
A first upload batch of 39 zips succeeded for covers and thumbnails, but a PDF preview flag crashed the script because it assumed every output was either 1280×720 or 600×600. The cover size is 1280×720 pixels, chosen to keep file size small while staying sharp on retina displays, and it is the image buyers see first on product pages. The thumbnail is rendered separately at 600×600 pixels, because platforms crop non-square images in search grids and the crop position cannot be controlled. Early versions that simply resized the cover produced stretched thumbnails, which led to a separate square render path with a corner icon. Generating both images takes about 2–4 seconds per product on a 1 vCPU, 2 GB server.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in