Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Why pack_product.py Renders Both a 1280×720 Cover and a 600×600 Thumbnail

说明与用途

pack_product.py 生成 1280×720 的封面和 600×600 的缩略图,以满足不同平台的显示需求。

问题

Uploads were rejected because the packaging script produced a single image that failed to meet the differing aspect‑ratio requirements of marketplace listings and grid thumbnails.

结果

The dual‑canvas approach eliminates upload rejections and ensures that both hero and thumbnail images display correctly across all marketplace surfaces.

工作流

  • 1. Run python pack_product.py <product_name> "Product Title" "Subtitle" <count>
  • 2. The script zips product files into <product-name>.zip
  • 3. Pillow renders a 1280×720 cover image as <product-name>-cover.jpg
  • 4. Pillow renders a 600×600 thumbnail as <product-name>-thumb.jpg
  • 5. All three files are placed in the _system folder (or specified via --dir or PACK_ROOT).

证据

I built 39 products on a 1 vCPU, 2 GB RAM server before I understood why my uploads kept getting rejected.

来源

pack_product.py renders both, every pack, with no flag to turn either off.

来源

The cover is the hero image. It is what the buyer sees first on a product page or a marketplace listing, and it is the one they judge in roughly two seconds.

来源

The thumbnail is the survival test. It shows up in grids, search results, category rows, and recommendation strips, often at 100px or less, often cropped to a square.

来源

  • 记录日期: 2026-11-02T06:29:02.315Z