# SOLVED: Add image to product category

**URL:** <https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545>\
**Category:** Using my Dolibarr\
**Created:** [March 28, 2018, 10:02pm UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545 "2018-03-28T22:02:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gypke](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/8491ac/32.png) [@gypke](https://www.dolibarr.org/forum/u/gypke)\
**Post date:** [March 28, 2018, 10:02pm UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545/1 "2018-03-28T22:02:06Z")

</div>

Hi All,

I cannot add a picture to a product category. If i try the same with a product this works.  
If i go to product category and try to upload the picture, it gives me the following error :

Warning: file\_exists() expects parameter 1 to be a valid path, array given in /volume1/web/discovery/htdocs/core/lib/files.lib.php on line 923  
Warning: preg\_match() expects parameter 2 to be string, array given in /volume1/web/discovery/htdocs/core/lib/files.lib.php on line 943  
Warning: preg\_match() expects parameter 2 to be string, array given in /volume1/web/discovery/htdocs/core/lib/files.lib.php on line 943  
Warning: preg\_match() expects parameter 2 to be string, array given in /volume1/web/discovery/htdocs/core/lib/files.lib.php on line 943  
Warning: move\_uploaded\_file() expects parameter 1 to be string, array given in /volume1/web/discovery/htdocs/core/lib/files.lib.php on line 984

---

<div class="post-metadata">

**Author:** ![futurehousestore](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/f/8e8cbc/32.png) [@futurehousestore](https://www.dolibarr.org/forum/u/futurehousestore)\
**Post date:** [March 29, 2018, 11:19am UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545/2 "2018-03-29T11:19:19Z")

</div>

Hi,  
What’s your Dolibarr version?

---

<div class="post-metadata">

**Author:** ![gypke](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/8491ac/32.png) [@gypke](https://www.dolibarr.org/forum/u/gypke)\
**Post date:** [March 29, 2018, 1:40pm UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545/3 "2018-03-29T13:40:45Z")

</div>

Hi thanks for the reply

i’m using dolibar 6.0.0  
php is version 5.6.23

---

<div class="post-metadata">

**Author:** ![futurehousestore](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/f/8e8cbc/32.png) [@futurehousestore](https://www.dolibarr.org/forum/u/futurehousestore)\
**Post date:** [March 29, 2018, 4:34pm UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545/4 "2018-03-29T16:34:36Z")

</div>

Thanks for the info. It is a bug in version 6.0.0 but it has been fixed in version 6.0.1 and above.

---

<div class="post-metadata">

**Author:** ![gypke](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/8491ac/32.png) [@gypke](https://www.dolibarr.org/forum/u/gypke)\
**Post date:** [March 29, 2018, 4:40pm UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545/5 "2018-03-29T16:40:09Z")

</div>

Yes indeed, I’ve tested with 6.0.6 and everything is fine!!!

Thanks for the reply

---

<div class="post-metadata">

**Author:** ![alpduran](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/a/c89c15/32.png) [@alpduran](https://www.dolibarr.org/forum/u/alpduran)\
**Post date:** [July 27, 2026, 11:52am UTC](https://www.dolibarr.org/forum/t/solved-add-image-to-product-category/16545/6 "2026-07-27T11:52:38Z")

</div>

I haven’t yet figured out how to add images to product categories; I would appreciate it if there is a video or help document explaining this. When I try to edit tags or categories—specifically the “Change Tag/Category” section—I see fields like Reference No, T-Shirt, Description, Color, and Position, but there is no section for adding an image. I am designing this for use on the POS sales screen; currently, the categories on the POS screen display a “No Image” placeholder. When I add a new product, the stock item is created with this default “No Image” graphic, and that image doesn’t seem to change—or perhaps I just don’t know where to change it.
