Using Wix Code to crop an element?

Why do you need the image? Add the image in WIX instead?