How to use custom image from an app?

New Member
1 0 0

Basically I have a website where people can upload an image they want printed on a t-shirt and add it to cart. The upload utilizes an app and the image appears as an addon to the order called "Custom Image 1: IMG"

What I want to do is make a script that would take this image after they upload it, process it a bit and then show how that image would look on a tshirt.

The problem is, I don't know how I can access that image from my own javascript. Where should I grab it from? Its been bothering me for hours.

For the record, I want this image processing to take place before they add the product to card. Right after they upload the image basically. Thanks!