I need to print two different $image_link depending whether if you're logged in or not. I added an extra variable but I can't figure out how to get the correct image sizes. Using 'full' and 'large' in the code below doesn't work.
$image_link = wp_get_attachment_url( get_post_thumbnail_id() );
$hiresimage_image_link = wp_get_attachment_url( get_post_thumbnail_id() );
Does anyone know how to get the different image sizes in woocommerce (product-image.php)