$productId
=
'SOME_PRODUCT_ID'
;
$product
= Mage::getModel(
'catalog/product'
)->load(
$productId
);
$productMediaConfig
= Mage::getModel(
'catalog/product_media_config'
);
$baseImageUrl
=
$productMediaConfig
->getMediaUrl(
$product
->getImage());
$smallImageUrl
=
$productMediaConfig
->getMediaUrl(
$product
->getSmallImage());
$thumbnailUrl
=
$productMediaConfig
->getMediaUrl(
$product
->getThumbnail());
(Visited 114 times, 1 visits today)