Drip Appsdocs
Shopify

Set Up a Gang Upload Product With Auto Size Detection (Shopify)

9 min readUpdated 2026-11-22

A Gang Upload product lets a customer upload a gang sheet they have already built and add it to the cart without opening the builder. With Auto Size Detection turned on, the app measures the uploaded file right on your product page and picks the variant it fits. The customer never chooses a size, so they can't pay for a smaller sheet than they sent.

Before You Start

  • Create the product in Shopify with one variant per sheet length you sell, each with its own price, and publish it with the Gang Upload app block. See How to Add Upload Gang Sheet.
  • In the Build A Gang Sheet app, go to Products, click Edit next to the product and set it to Gang Upload.

Turn On Auto Size Detection

  1. On the product's settings page, set Size Unit to in, mm or cm. Printer Width, Minimum Width and the variant heights are entered in this unit, and customers see their sizes and your limits in it.
  2. Under Accepted File Types, leave the switch on Inherited to use your shop's Uploaded-sheet file types, or switch to Customized and tick the types this product accepts. At least one type must be ticked.
  3. Turn on Auto Size Detection.
  4. Set Target DPI, from 72 to 600. The default is 300.
  5. Set Printer Width to the widest sheet your printer takes. The default is 22 in, and 22 in is also used if you leave it empty.
  6. Set Height Tolerance, from 0 to 50 percent. The default is 5. See How a File Is Matched to a Variant.
  7. Optional: set a Minimum Width. See Set a Minimum Width.
  8. Optional: turn on Low DPI Agreement Checkbox and edit its Agreement Text. See Low Resolution Files.
  9. Under Variant Size Tiers, enter a Height for every variant, for example 60 for your 22x60 variant.
  10. Click Save.

Auto Size Detection settings on a Shopify Gang Upload product
Auto Size Detection settings on a Shopify Gang Upload product

If any variant has no height, saving stops with: Please set height for all variants when size detection is enabled. If the table reads No variants found. Add variants to this product in Shopify first., add the variants in Shopify and reopen the product.

Variant Size Tiers table with a height for each variant
Variant Size Tiers table with a height for each variant

How a File Is Matched to a Variant

When the customer picks a file, the app reads its pixel size and resolution from the file itself, before the upload finishes.

  1. Turn the sheet. If the file's longer side fits within your Printer Width, the longer side is treated as the width. Otherwise the shorter side is the width. This keeps the sheet as short as possible. The print-ready file is turned to match.
  2. Check the width. A width over the Printer Width is stopped. A width under your Minimum Width, if you set one, is handled the way you chose.
  3. Match the height. The variants are sorted from shortest to tallest by the heights in Variant Size Tiers, and the file goes to the first one it fits, allowing for your Height Tolerance. With the default 5 percent, a 60 in variant takes files up to 63 in tall, so a 62 in file is charged as 60 in, not as your next size up.
  4. Too tall for every variant. If the file is taller than your tallest variant plus the tolerance, it is stopped.
Important

Tolerance lets slightly long files through at the smaller price. Set it to 0 if every inch has to be paid for.

Resolution is read from PNG and JPG files. A PNG or JPG that doesn't record its resolution is measured at 300 DPI. SVG, PDF, AI and EPS files are measured by their page size, so their resolution always shows as your Target DPI. PSD files are measured too.

What the Customer Sees

The upload box reads Upload Gang Sheet and or drop your file here. The customer drags a file in or clicks to pick one, and the box shows the upload progress.

Size Matched: the file fits. The box shows the measured width and height with the file's DPI, the Variant it matched, its Price, Target DPI against File DPI, and a Matched tier strip with the neighboring sizes. The customer can then add it to the cart.

Size Matched box showing the matched variant and price
Size Matched box showing the matched variant and price

Width Exceeded: the sheet is wider than your Printer Width. The box shows Maximum width and Your width, and reads: Your gang sheet is wider than the printer. Please resize to (your printer width) wide or narrower.

Width Exceeded box showing maximum width and the customer's width
Width Exceeded box showing maximum width and the customer's width

Size Exceeded: the sheet is taller than your tallest variant. The box shows Maximum height and reads: Please resize your gang sheet and try again.

Size Exceeded box showing the maximum height
Size Exceeded box showing the maximum height

Width Too Narrow: only when you set a Minimum Width and chose Block the upload. See below.

A stopped file still uploads, but the add to cart button is hidden, so it can't be bought.

If the file can't be measured, the customer sees one of these, and the file can't be added to the cart until they upload one the app can measure:

  • Auto size detection isn't available for this file type. Please select the size manually.
  • Could not detect image dimensions. Please verify the correct variant is selected.

Set a Minimum Width

Minimum Width catches files that are too narrow, so a 19.6 in wide file no longer goes through as a full-width sheet without a warning. It is empty by default, so existing products are unchanged until you set it.

  1. In Minimum Width, enter the narrowest file you accept, in the product's unit (for example 21.5 on a 22 in printer). Leave it empty to accept any width up to the Printer Width. A value above the Printer Width is treated as the Printer Width.
  2. In When a file is narrower, choose Block the upload or Ask the customer to agree. Block the upload is the default.
  3. If you chose Ask the customer to agree, edit Width Agreement Text, the wording shown next to the checkbox. The default reads: Your gang sheet is narrower than our full print width. By proceeding, you agree it will be printed at the size you uploaded.
  4. Click Save.

The check uses the width after the sheet is turned, as described above.

  • Block the upload: the customer sees Width Too Narrow with Minimum width and Your width, and reads: Your gang sheet must be at least (your minimum) wide. Please resize it to the full print width and upload again. The file can't be added to the cart.
  • Ask the customer to agree: the file is matched to a variant as usual, a Print width row shows their width against your printer width, and the customer must tick your agreement. Without it they see: Please agree to the print width acknowledgment before adding to cart. The order line gets a Width Agreement property reading Agreed with the date and time.

Width Too Narrow box showing minimum width and the customer's width
Width Too Narrow box showing minimum width and the customer's width

Low Resolution Files

Turn on Low DPI Agreement Checkbox to make customers acknowledge a file below your Target DPI. The checkbox appears under the size box only when the file's DPI is lower than the target. The default Agreement Text reads: The uploaded file is below our recommended DPI/resolution. By proceeding, you acknowledge that your print may be of lower quality.

A customer who tries to add to cart without ticking it sees: Please agree to the DPI quality acknowledgment before adding to cart. Once ticked, the order line gets a DPI Agreement property with the date and time.

Matched upload with the low DPI and print width agreement checkboxes
Matched upload with the low DPI and print width agreement checkboxes

Note

With the checkbox off, a low resolution file is still accepted. Nothing stops the order.

Add a Notes Field

  1. On the product's settings page, turn on Notes Field.
  2. Turn on Required if customers must write something before adding to cart.
  3. In Field Label, enter the label shown above the box. If you leave it empty, it reads Notes.
  4. Click Save.

A required field left empty stops the add to cart with: Please fill in the "(your label)" field before adding to cart. The note is saved as a line item property on the order.

Notes Field settings with Required and Field Label
Notes Field settings with Required and Field Label

What You See on the Order

Each Gang Upload line carries these line item properties:

  • File Name: the name of the file the customer picked.
  • File DPI: the resolution the app measured.
  • DPI Agreement: only when the customer accepted the low resolution warning.
  • Width Agreement: only when the customer accepted a narrow sheet.
  • Your notes label, with the customer's note, when the Notes Field is on.

If It Doesn't Work

  • Every file shows Size Exceeded. The tallest Height under Variant Size Tiers is shorter than the files customers send, or the heights were entered in the wrong Size Unit.
  • A file measures far bigger than it should. The file records a lower resolution than it was designed at, often 72 DPI from a screenshot or web export, which makes it measure about four times its print size. Ask the customer to export at print resolution.
  • A file type is refused with Invalid file type. Please upload a valid file type. Add it under Accepted File Types on the product, or in your shop's Uploaded-sheet file types.
  • The product page has no upload box. The Gang Upload app block isn't on the product's theme template. See How to Add Upload Gang Sheet.

Was this article helpful?

Let us know so we can improve our docs