<div class="tab-content text-center mb-3 d-flex h-100 w-100" id="productdetail{$po.customOptionName}TabContent">
                    <div class="tab-pane fade show active d-flex h-100 w-100" id="{$po.customOptionName}" role="tabpanel" aria-labelledby="{$po.customOptionName}-tab">
                     {if $po.customOptionName eq 'Upholstery'}
                      {assign var="imgsrc" value="{$view_public_path}/uploads/catalog/vehicles/large/{$resProductIntrImages[0]['vehicleImage']}"}
                      {else}
                      {assign var="imgsrc" value="{$view_public_path}/uploads/catalog/vehicles/large/{$resProductTrimImages[0]['vehicleImage']}"}
                      {/if}
                       <div class="image_trim_upholsery {$po.customOptionName}img d-flex h-100 w-100" style="background-image:url({$imgsrc});">
                       {if $po.customOptionName eq 'Upholstery'} 
                            <img src="{$view_public_path}/uploads/catalog/vehicles/large/{$resProductIntrImages[0]['vehicleImage']}" class="img-fluid product-fullwidth-img " style="opacity:0;"/>
                      {else}
                            <img src="{$view_public_path}/uploads/catalog/vehicles/large/{$resProductTrimImages[0]['vehicleImage']}" class="img-fluid product-fullwidth-img " style="opacity:0;"/>
                      {/if}   
                      </div> 
                    </div>
</div>    