Product Images and Logo Not Displaying in Interface (Windows Environment)

Environment Details

  • OS: Windows 10/11
  • Dolibarr Version: 20.0.3
  • PHP Version: 8.2.12
  • Web Server: XAMPP/Apache
  • Installation Path: C:\xampp\htdocs\[project_name]\

Problem Description

I’m experiencing an issue where product images and company logo are not displaying correctly in the Dolibarr interface. However, the images do appear correctly when generating quotes (devis) and invoices (factures) in PDF format.

What’s Working:

  • :white_check_mark: Images display in generated PDFs (quotes/invoices)

  • :white_check_mark: Image upload process works wITH errors

  • :white_check_mark: Images are saved to the correct folders

What’s NOT Working:

  • :cross_mark: Product images don’t show in product list view
  • :cross_mark: Product images don’t show in product detail pages
  • :cross_mark: Company logo doesn’t display in interface

Technical Details

  • Images are stored in: documents/produit/[product_ref]/
  • File permissions have been checked and set correctly
  • Browser cache has been cleared
  • Different browsers tested (same issue)
  • Image formats tested: JPG, PNG (under 1MB)

If this is a bug report, then it should be on github

Hello.
To help you… you should post the error to the PHP log.

Active Syslog Module