Images of Product list layout
Posted: 18 May 2018, 17:08
Hello,
I need to nest the img tag with some classes and id of mine,
i have this method of render $layoutI->render($dI)
but i have to get by this only the src=""
( i'm workin only in grid render. don't care of others methods )
I need to do this:
echo '<div id="Slider-button'.$num.'" class="Slider-button"><img id="magnify" src="'.JURI::base(true).'/'.$layoutI->render($dI).'" alt="" class="ph-image'.$num.'" /></div>' ;
where $layoutI->render($dI) could be only the url and not all the tag <img ecc.ecc. />
what can i do?
I need to nest the img tag with some classes and id of mine,
i have this method of render $layoutI->render($dI)
but i have to get by this only the src=""
( i'm workin only in grid render. don't care of others methods )
I need to do this:
echo '<div id="Slider-button'.$num.'" class="Slider-button"><img id="magnify" src="'.JURI::base(true).'/'.$layoutI->render($dI).'" alt="" class="ph-image'.$num.'" /></div>' ;
where $layoutI->render($dI) could be only the url and not all the tag <img ecc.ecc. />
what can i do?