Hi i have this error:
Fatal error: Cannot redeclare class VmImage in /home/domains/lemansport.cz/web/public/www/administrator/components/com_virtuemart/helpers/image.php on line 18
When i comment code above
// require(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart'.DS.'helpers'.DS.'image.php');
page is OK.
When i use Your solution, error is still there.
But some image don't show - see
prntscr.com/bnjb37E.g. http://www.lemansport.cz/e-shop/errea/errea-fotbal/errea-santos-sportovni-telovy-dres-d160-detail