News:

Support the VirtueMart project and become a member

Main Menu

cannot show the picture

Started by sun0632, January 15, 2025, 03:02:12 AM

Previous topic - Next topic

sun0632

Hi,

My site    https://tobacco1.top/shop.html

Joomla 5.2
vm VirtueMart 4.4.4 11101
tobacco machinery ,www.tobacco1.top

sun0632

tobacco machinery ,www.tobacco1.top

sun0632

tobacco machinery ,www.tobacco1.top

Jumbo!

In product settings, check the "COM_VIRTUEMART_FILES_FORM_FILE_ISIMAGE" option for the images. The attached screenshot provides a reference.


You cannot view this attachment.

sun0632

tobacco machinery ,www.tobacco1.top

n3t

Hack that worked for me:
- go to file /administrator/templates/vmadmin/html/com_virtuemart/sublayouts/images.php
- on line 156 change this line
echo VmuikitHtml::row('checkbox', 'COM_VIRTUEMART_FILES_FORM_FILE_ISIMAGE', 'media[is_image]', $VmMediaHandler->is_image);
to this
echo VmuikitHtml::row('checkbox', 'COM_VIRTUEMART_FILES_FORM_FILE_ISIMAGE', 'media[is_image]', $VmMediaHandler->is_image ?? true);