Hello all,
I am new to virtuemart. From code I observed that this code shows the image.
echo $product->images[0]->displayMediaThumb()
But I want image url.
echo $product->images[0]->link
doesn't work... help me pls.. Thanks
http://forum.virtuemart.net/index.php?topic=79799.0
Assuming this is for category view,
So try
$product->images[0]->file_url
or
$product->images[0]->file_name
for thumb:
$product->images[0]->file_url_thumb
use JURI::root() if you want full url path ...
like $xxx = JURI::root() . $product->images[0]->file_url
You did not specify the exactly link :)
Regards