Search for Images - Found - But Nothing to Display

Started by MAD King, November 03, 2019, 16:45:23 PM

Previous topic - Next topic

MAD King

Hello,

when I use the Search for Images feature under Product, VM gives me all the images, but there are no images.
Medias are synchronized more than once.

Joomla! 3.9.12
VirtueMart 3.6.6 10191
Joomla! 4.3.4
VirtueMart 4.2.4 10922

StefanSTS

When images are uploaded via FTP and then synchronized, the thumbnails will not be generated automatically.
In this case only the image names show in the ajax list of images in the product edit view.

To generate the thumbnails for all media after a mass FTP upload there is a button "Reset Thumbs" in
VirtueMart Menu -> Tools -> Tools & Migration
Pressing this button will delete all old thumbnails and generate new thumbnails.

To just add new thumbnails, go to "Media Files", set the number of displayed items to about 500 and call all pages.
Make sure you sort by Id in descending order, so newly uploaded and synchronized files are shown first.
On calling the image list the thumbnails are generated to be shown in the media list. Once they are generated they will be shown in the product edit view.

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

MAD King

Joomla! 4.3.4
VirtueMart 4.2.4 10922

jjk

In case you have fine-tuned your thumbnails manually and uploaded them to your thumbnail images folder, the thumbnails will also show up if you fill the thumbnail path/filename into the media [Edit] 'Used thumb url' form field. Stefan's approach, which most people use, creates thumbnails using the GD library without applying a sharpening matrix. The latter can be enabled by uncommenting the sharpening code in ...\administrator\components\com_virtuemart\helpers\img2thumb.php

...just for your info  ;)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

MAD King

Joomla! 4.3.4
VirtueMart 4.2.4 10922