display product picture in Product List

Is there a way of displaying product picture when I click on Products / Services -> Products (List) ?

Is there a way of displaying same in tabular display instead of list ?

Using Dolibarr 6.0.0

regards

Hello,
what worked for me (with Dolibarr 9.0) is to change file
htdocs/products/list.php

		// Ref
		if (! empty($arrayfields['p.ref']['checked']))
		{
			print '<td class="tdoverflowmax200">';
			print $product_static->getNomUrl(1);
			print "</td>\n";
			print "</td>\n";
			if (! $i) $totalarray['nbfield']++;
		}
		// Ref supplier

to

		// Ref
		if (! empty($arrayfields['p.ref']['checked']))
		{
			print '<td class="tdoverflowmax200">';
			print $product_static->getNomUrl(1);
			
                        $tmpphoto = $product_static->show_photos('product', $conf->product->multidir_output[$product_static->entity], 1, 1, 0, 0, 0, 80);
                         if ($product_static->nbphoto > 0) { 
				print '<br>'.$tmpphoto;
                          }

			print "</td>\n";
			print "</td>\n";
			if (! $i) $totalarray['nbfield']++;
		}
		// Ref supplier

For Dolibarr 6.0 I don´t know, if this is working.

3 Likes