Magento 2 – How to create attribute with images on product page

I want to recreate this in magento 2: It’s an image slider with attribute icons. I currently have it in magento 1 as a multiple select value: This is the Magento 1 code: <?php if ($multiSelectArray = $this->getProduct ()->getAttributeText(‘care_instructions’)) : ?> <div class=”main-container col1-layout guides-wrap”> <div class=”main”> <div class=”col-main”> <div id=”care-instructions”> <?php if (is_string($multiSelectArray)) {…

Details

bash array printf in gnu parallel

I am trying pass bash array variable, that contain two elements to GNU parallel script: echo ${opts[@]} -s 100206 -i /input/100206/unprocessed/3T/T1w_MPR1/100206_3T_T1w_MPR1.nii.gz -s 100408 -i /input/100408/unprocessed/3T/T1w_MPR1/100408_3T_T1w_MPR1.nii.gz I tried to run it like this printf ‘%s\n’ “${opts[@]}” | parallel –jobs 8 –timeout 250% –progress recon-all {.} -all -qcache It looks like I use printf wrong: printf ‘%s\n’…

Details