Use the following code to get a Magento products URL and to display the image on a tempate page:
|
1 |
<img src="<?php echo $_product->getImageUrl(); ?>" alt="<?php echo $_product->getName();?>" /> |
Getting the URL of a product image and display the image
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.