Author Topic: Problem with "Image" custom field and large number of images. Needs improvement.  (Read 331 times)

Wedal

  • Beginner
  • *
  • Posts: 5
    • Joomla & Virtuemart lessons
Good day!

There is some problem in Virtuemart, which appears only with a large number of images.
If we use custom field "image" and number of images > 1000,  then there are difficulties with filling the field in the product settings (see attachments).
In this case, the product editing page loads very slowly.

VM 3.2.12
SQL-query:
administrator/components/com_virtuemart/models/customfields.php,
line 701

A good solution would be the ability to select a folder for such images in the settings of the "Image" custom field. Also, the setting that would allow selecting only the images that are added for this product would be very helpful.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3336
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
custom images should use same script as product images for eg.
In my case, i use other tools, so i dont have this problem, but on some customer website they have same problem.
All lists should be loaded by ajax using a search filter and return result after search only. Or do same as Joomla media and use a modal.