Hello All,
I am using Joomla 2.5.9 & Virtuemart 2.0.22.
We are using image with .svg extension, but here it is not taking.
How to use svg image format in virtuemart ?
This is the php code for displaying the image
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?php // Product Image
if ($product->images) {
echo JHTML::_ ( 'link', JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( 'class="featuredProductImage" border="0"',true,'class="modal"' ) );
}
?>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please check the screenshot below...
Regards,
Srinivas
[attachment cleanup by admin]
I don't believe that the GD2 library supports the .svg format - and VM uses GD2 to create thumbs. If you use .svg surely IE8 and lower users would not see the images.