When creating custom Design Your Own (DYO) products, you must first start with a product image that will serve as a "bare bones" template. You'll want to have any bleeds, margins, and cut lines on this template. This image is set to non-printing and will not be visible on the finished PDF, as it only serves as a guide for artwork placement. Once you complete this you'll be able to create any number of designed templates for your clients to choose from. If you're wondering how to create a Designed Template, please view our How to create your own DYO Product Templates user guide.
This image needs to be created as an SVG with any text converted to outlines (if applicable). The SVG file needs to be created to match the size of the canvas area of the editor, which is 950 pixels wide by 670 pixels high. No artwork should be place within 20 pixels from the top and left edge of the canvas to ensure that no artwork is covered by product rulers. You also need to leave 5 pixels from the right and bottom edge of the product image to ensure no artwork gets cutoff. This will leave you with a maximum artwork size of 925 x 645. Important: Ensure that the artwork in your file is centered within the margins for the maximum artwork size (925x645), and not the canvas size (950x670). The coordinates to center this within the maximum artwork size are:
Once you have your image created, we’ll next need to get the position of your product in relation to the canvas. We need the top, left, bottom & right position. If you’re working in Adobe Illustrator, this is a fairly easy task to do.
- First you’ll select the largest item on your page. This is the item that defines the outer most edge of your product. Or the largest area that could be printed on.
- Select top left corner Reference Point. Then note the Top (Y) and Left (X) positions. If these numbers include a decimal, you would round down. For example, if the number is 22.6, you would indicate this position as 22.
Select the bottom right corner Reference Point. Then note the bottom (Y) and Right (X) positions. If these numbers include a decimal, you would round up. For example if the number is 22.6, you would indicate this position as 23.
Now, we will create the XML needed to tell the editor where your artwork is supposed to reside on the canvas. Below is an example of how an XML string should look for your product. You will need this XML string when setting up your product in your store. Note that the "size_1-2.svg" portion of the code will need to be changed to match the name of your SVG file.
<minDPU minDPU='150'/><location name='Front' top='111' left='20' bottom='574' right='945' width='72' height='36' image='productimages/size_1-2.svg'/>
For items with multiple locations (For example, an item that has double sided print), you will simply put them one location string right after another in your XML. Below is an example of a multiple location XML string. It’s important to note, that if the size of each location is different, they will need unique position and size values in the location XML string.
<minDPU minDPU='300'/><location name='Front' top='65' left='20' bottom='620' right='945' width='3.75' height='2.25' overlayInfo='productimages/2x3-5_overlay.svg'/><location name='Back' top='157' left='20' bottom='528' right='945' width='60' height='24' image='productimages/size_2-5.svg'/>
Now let’s break each element of this string down, so you know what each element is for and why it’s needed. It’s very important that the XML is written just like you see it above.
minDPU – the <minDPU minDPU=’150’/> tag indicates the minimum resolution any placed item needs to be when imported. Depending on how you plan to print your product, this can range anywhere form 150 – 300 DPI or higher. When this is set, the editor will place objects imported into the editor proportionate to the printed piece. For example, if a minDPU is set to 300 and an user brings in an image that is 10” x 10” at 150dpi, the image will be placed on the canvas at 5” x 5” to ensure proper quality. You can have only 1 instance of the minDPU tag per product.
Location – This is the main XML tag beginning. The Location tag requires the following elements to be valid:
- name – This is what the “location” will be named. On a single sided item this value will always be Front. But if you have multiple locations you could set different values here. For example if you have a double sided banner, you could have one location set that is named Front and another named Back. For apparel, you could have, Front, Back, Right Sleeve, Left Sleeve. Whatever is placed in here will show up in the editor as the location.
- top – this is the top location of your artwork. The editor will prevent any artwork from appearing any higher than this position.
- left – this is the left location of your artwork. The editor will prevent any artwork from appearing any farther left of this position.
- bottom – this is the bottom location of your artwork. The editor will prevent ay artwork from appearing any lower than this position.
- right – this is the right location of your artwork. The editor will prevent any artwork from appearing any farther to the right of this position.
- width – this is the width of your product. The value of this number needs to be in inches and can include decimals. For example if your product is 8 ½ inches, then this value will be 8.5.
- height – this is the height of your product. The value of this number needs to be in inches and can include decimals. For example if your product is 8 ½ inches, then this value will be 8.5.
- image, overlayInfo, mask – depending on the type of product image you’ve created, the final element can be one of these 3 items. They all are treated differently by the editor, so this is an important piece. Also, the value of this item is the location (which will always be productimages/yourREFNUM/) and your file name. For example if you created a file named square.svg, the value you would put here would be productimages/yourREFNUM/square.svg. yourREFNUM refers to your unique customer reference number. In order to obtain your unique customer reference number, please contact our support staff or inform us to look it up for you when you submit your SVG file. In most cases you will have just one of these identifiers present in your XML string, but it is possible to have more than one if your design requires it. For example, if you have a product with multiple colors, but also need an overlay like bleed marks. In which case you would ad image=’image location’ overlayInfo=’image location’.
When your product image file(s) are complete, please email them to firstname.lastname@example.org. Thank you!