Add an image preview to the product page
Adding an image preview to the product page is a great way for customers to ensure they've uploaded the correct file. Follow the steps below to get started.
Note: This will only work with rasterized files (.png, .jpg, .jpeg, and .gif).

Getting Started...
1. Starting from your Shopify admin dashboard, click on Online Store, then click on Themes.
2. Find the theme you want to edit, click the Actions button, then click Edit code.

3. In the Templates folder, open the product.liquid file. If your theme does not have a product.liquid file and if you see a product.json file, locate a file called main-product.liquid file in the Sections folder.
4. Paste the following code snippet at the bottom of that file.
5. After the code is placed in the theme editor, navigate to the Uploadery dashboard, within the Settings section. Locate the Custom CSS field.

6. Paste the following code snippet in the field.
7. Save your changes.
Last updated