Hey, in Venture you should have a folder in Sections -> product-template.liquid where the code can go. There should be an image <meta> tag right at the top of the file where you can add your if/else statement to check if there is a default image available. Let me know if you have further issues and I can take a deeper look.
Happy to help with your Shopify theme issues! Help me out by accepting my solutions. Feel free to email me at: firstname.lastname@example.org