Skip to main content

Add a custom image to your template

How to add a custom image to any of your templates

Esteban Estrada avatar
Written by Esteban Estrada
Updated this week

Order Printer Pro's default template allows you to add a logo from the app settings: Adding your store logo. It will display the logo on all native templates.

However, if needed, you can add a custom image or images for the logo of any individual templates. This helps display additional images or gives you the freedom to display images conditionally.

Step 1 - Upload your image

You’ll first need to upload your image to your Shopify files section. This can be achieved by following the instructions below:

1- Access Shopify Admin > Settings > Files > Upload files > Choose and upload your image.

💡Avoid large images for the logo, as they can affect the order's export time. A 300–600 px width is more than enough to make it look crips and professional.

2- Click on the "Copy link" button, and you will have the link to the image you’ve just uploaded:

3- Paste that link within the quotation marks in this line:

<span> <img src="paste uploaded file url here" style="width: 60%"/> </span>


Like this:

<span> 
<img src="https://cdn.shopify.com/s/files/1/0752/8307/1275/files/TinyTake09-11-2023-01-17-33.png?v=1699553900"
style="width: 60%"/>
</span>


Step 2 - Add the uploaded image to your template code

Now, you may use this snippet of code to display the image in your templates.

You can paste it wherever you’d like this image to be added. Let’s say you’d like to have this added right above the "thanks" message in your footer. In this case, please follow the instructions below:

1- Access Order Printer Pro > Manage templates > Edit template > Code

2- Look for the {{ TEXT_thanks }} section:

<p>
{{ TEXT_thanks }}
</p>


3- Right above it, copy the code linked to the image you added. As in:

Now, your template has the new image added to it, like the example below:

Step 3 - Adjust image size (optional)

You can change the image size by changing the width number at the end of the copied line:


Increasing or decreasing the width percentage will enlarge or reduce the size of the image in your template, so you can make it fit appropriately.

If you need help with any of the above, our friendly support team is more than happy to help.

Did this answer your question?