[Skip to main content](#vessel-content)

#   how to insert image

##

- **[gratef](/forum/user/345-gratef "View gratef's Profile")**
- [![gratef's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar345.jpeg)](/forum/user/345-gratef "View gratef's Profile") Topic Author
- [ Offline](/forum/user/345-gratef)

Less More

- Posts: 11
- Thank you received: 0
-
-

15 years 11 months ago [\#2161](#2161) by [gratef](/forum/user/345-gratef "View gratef's Profile")  *[how to insert image](/forum/4-how-to/2161-how-to-insert-image#2161 "hi there,  how can I insert a product image into a menu page with these parameters? --- menu type: hikashop product listing; type of layout: list; show image; yes  I can do it when they type of layout is div, but not list. I'd like to insert the photo either to the left or right of the three choices as shown on screenshot.  :huh: thanks for your help!")* was created by *[gratef](/forum/user/345-gratef "View gratef's Profile")*

hi there,

how can I insert a product image into a menu page with these parameters?
--- menu type: hikashop product listing; type of layout: list; show image; yes

I can do it when they type of layout is div, but not list. I'd like to insert the photo either to the left or right of the three choices as shown on screenshot.

:huh:
thanks for your help!  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/menuimage.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/menuimage.jpg "&#91;img")

- [ ![menuimage.jpg](/forum/attachment/139) ](/forum/attachment/139 "menuimage.jpg") [ ](/forum/attachment/139?download=1 "menuimage.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNjEtaG93LXRvLWluc2VydC1pbWFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86366
- Thank you received: 14299
-
-

15 years 11 months ago [\#2170](#2170) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how to insert image](/forum/4-how-to/2161-how-to-insert-image#2170 "hi there,  how can I insert a product image into a menu page with these parameters? --- menu type: hikashop product listing; type of layout: list; show image; yes  I can do it when they type of layout is div, but not list. I'd like to insert the photo either to the left or right of the three choices as shown on screenshot.  :huh: thanks for your help!")*

The "show image" option will display the image of the parent category you can select in the options, not the image of each category listed.

If you want to have the images you would have to use the type of layout div indeed.

Alternately, you can edit the code of the view in order to add the images. Go to Display-&gt;Views and search for the file listing_list of the view product. There you can use the code Code:

echo $this-&gt;image-&gt;display(@$row-&gt;file_path,false,$this-&gt;escape($row-&gt;product_name));

in order to display the image of each product. You can for example put it just before the code Code:

echo $row-&gt;product_name;

which displays the name of your products.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNjEtaG93LXRvLWluc2VydC1pbWFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
