Solved this problem as follows: - open file customfields.php
1) After the 1190 line enter code:
function displayCustomMedia_M ($media_id, $table = 'product', $absUrl = FALSE) {
if (!class_exists ('TableMedias'))
require(JPATH_VM_ADMINISTRATOR . DS . 'tables' . DS . 'medias.php');
$db = JFactory::getDBO ();
$data = new TableMedias($db);
$data->load ((int)$media_id);
if (!class_exists ('VmMediaHandler'))
require(JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'mediahandler.php');
$media = VmMediaHandler::createMedia ($data, $table);
return $media->displayMediaThumb ('class="m-image"', true, 'onclick="return false"', TRUE, TRUE, $absUrl);
}
2 ) Line 1143 :
return $this->displayCustomMedia ($value);
changed to code:
return $this->displayCustomMedia_M ($value);
3 ) Line 1237 :
$value = self::displayCustomMedia ($productCustom->custom_value);
changed to code:
$value = self::displayCustomMedia_M ($productCustom->custom_value);
Get something like this - see image
PS This decision does not affect other types of fields , for example - related produсt .
Of course modify the code system is very bad, but other solutions not yet found . Of course , you can connect an additional script ( Tooltips ) , but with it all is not well displayed , and once the script - the additional load .
Developers can take note of this decision or make easier - I will be very grateful.
[attachment cleanup by admin]