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

#   Images not shown in content display module

##

- **[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")**
- [![bmichu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32093-bmichu "View bmichu's Profile") Topic Author
- [ Offline](/forum/user/32093-bmichu)

Less More

- Posts: 71
- Thank you received: 0
-
-

10 years 8 months ago [\#232877](#232877) by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile")  *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#232877 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")* was created by *[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")*

-- url of the page with the problem -- : [ www.florentia.ch/](http://www.florentia.ch/)
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.1

Hi,

I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image ![:-(](/media/kunena/emoticons/22.png ":-(").

How can this be fixed? Attached the settings for the module.

Thanks
Michel

- [ ![hika.png](/forum/attachment/30033) ](/forum/attachment/30033 "hika.png") [ ](/forum/attachment/30033?download=1 "hika.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODI5NzUtaW1hZ2VzLW5vdC1zaG93bi1pbi1jb250ZW50LWRpc3BsYXktbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

10 years 8 months ago [\#232889](#232889) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#232889 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")*

Hi,

Try changing the line:
if($this-&gt;config-&gt;get('thumbnail',1)){ ?&gt;
to:
if(true){ ?&gt;
in the file "listing_img_title" of the view "product" via the menu Display&gt;views.

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

- **[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")**
- [![bmichu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32093-bmichu "View bmichu's Profile") Topic Author
- [ Offline](/forum/user/32093-bmichu)

Less More

- Posts: 71
- Thank you received: 0
-
-

10 years 8 months ago [\#232923](#232923) by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile")  Replied by *[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")* on topic *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#232923 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")*

Hi,
Thanks for the reply.
Unfortunately the suggested modification has no effect.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODI5NzUtaW1hZ2VzLW5vdC1zaG93bi1pbi1jb250ZW50LWRpc3BsYXktbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

10 years 8 months ago [\#232982](#232982) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#232982 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")*

Hi,

Well, All I can think of is that this comes from a modification that was made in that view file.
What code do you have in there ?

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

- **[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")**
- [![bmichu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32093-bmichu "View bmichu's Profile") Topic Author
- [ Offline](/forum/user/32093-bmichu)

Less More

- Posts: 71
- Thank you received: 0
-
-

10 years 8 months ago [\#232992](#232992) by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile")  Replied by *[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")* on topic *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#232992 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")*

Hi,

To my knowledge, apart from the modification you suggested, no changes have been made to the file. You will find the code below.
Thanks
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.1 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php $link = hikashop_contentLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway,$this-&gt;row); if(!empty($this-&gt;row-&gt;extraData-&gt;top)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;top); } if(true){ ?&gt; &lt;!-- PRODUCT IMG --&gt; &lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;div style="position:relative;text-align:center;clear:both;width:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_x;?&gt;px;margin: auto;" class="hikashop_product_image_subdiv"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt; &lt;?php } $image_options = array('default' =&gt; true,'forcesize'=&gt;$this-&gt;config-&gt;get('image_force_size',true),'scale'=&gt;$this-&gt;config-&gt;get('image_scale_mode','inside')); $img = $this-&gt;image-&gt;getThumbnail(@$this-&gt;row-&gt;file_path, array('width' =&gt; $this-&gt;image-&gt;main_thumbnail_x, 'height' =&gt; $this-&gt;image-&gt;main_thumbnail_y), $image_options); if($img-&gt;success) { echo '&lt;img class="hikashop_product_listing_image" title="'.$this-&gt;escape(@$this-&gt;row-&gt;file_description).'" alt="'.$this-&gt;escape(@$this-&gt;row-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;'; } $main_thumb_x = $this-&gt;image-&gt;main_thumbnail_x; $main_thumb_y = $this-&gt;image-&gt;main_thumbnail_y; if($this-&gt;params-&gt;get('display_badges',1)){ $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;row-&gt;badges, -10, 0); } $this-&gt;image-&gt;main_thumbnail_x = $main_thumb_x; $this-&gt;image-&gt;main_thumbnail_y = $main_thumb_y; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- EO PRODUCT IMG --&gt; &lt;?php } ?&gt; &lt;!-- PRODUCT PRICE --&gt; &lt;?php if($this-&gt;params-&gt;get('show_price','-1')=='-1'){ $config =&amp; hikashop_config(); $this-&gt;params-&gt;set('show_price',$config-&gt;get('show_price')); } if($this-&gt;params-&gt;get('show_price')){ $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO PRODUCT PRICE --&gt; &lt;!-- PRODUCT NAME --&gt; &lt;span class="hikashop_product_name"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt; &lt;?php } echo $this-&gt;row-&gt;product_name; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/span&gt; &lt;!-- EO PRODUCT NAME --&gt; &lt;!-- PRODUCT CODE --&gt; &lt;span class='hikashop_product_code_list'&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt; &lt;?php } echo $this-&gt;row-&gt;product_code; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;?php } ?&gt; &lt;/span&gt; &lt;!-- EO PRODUCT CODE --&gt; &lt;?php if(!empty($this-&gt;row-&gt;extraData-&gt;afterProductName)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;afterProductName); } ?&gt; &lt;!-- PRODUCT VOTE --&gt; &lt;?php if($this-&gt;params-&gt;get('show_vote_product')){ $this-&gt;setLayout('listing_vote'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO PRODUCT VOTE --&gt; &lt;!-- ADD TO CART BUTTON AREA --&gt; &lt;?php if($this-&gt;params-&gt;get('add_to_cart') &#124;&#124; $this-&gt;params-&gt;get('add_to_wishlist')){ $this-&gt;setLayout('add_to_cart_listing'); echo $this-&gt;loadTemplate(); }?&gt; &lt;!-- EO ADD TO CART BUTTON AREA --&gt; &lt;!-- COMPARISON AREA --&gt; &lt;?php if(JRequest::getVar('hikashop_front_end_main',0) &amp;&amp; JRequest::getVar('task')=='listing' &amp;&amp; $this-&gt;params-&gt;get('show_compare')) { ?&gt; &lt;br/&gt;&lt;?php if( $this-&gt;params-&gt;get('show_compare') == 1 ) { $js = 'setToCompareList('.$this-&gt;row-&gt;product_id.',\''.$this-&gt;escape($this-&gt;row-&gt;product_name).'\',this); return false;'; echo $this-&gt;cart-&gt;displayButton(JText::_('ADD_TO_COMPARE_LIST'),'compare',$this-&gt;params,$link,$js,'',0,1,'hikashop_compare_button'); ?&gt; &lt;?php } else { ?&gt; &lt;input type="checkbox" class="hikashop_compare_checkbox" id="hikashop_listing_chk_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;" onchange="setToCompareList(&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;,'&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;',this);"&gt;&lt;label for="hikashop_listing_chk_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;"&gt;&lt;?php echo JText::_('ADD_TO_COMPARE_LIST'); ?&gt;&lt;/label&gt; &lt;?php } } ?&gt; &lt;!-- EO COMPARISON AREA --&gt; &lt;?php if(!empty($this-&gt;row-&gt;extraData-&gt;bottom)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;bottom); } ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODI5NzUtaW1hZ2VzLW5vdC1zaG93bi1pbi1jb250ZW50LWRpc3BsYXktbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

10 years 8 months ago [\#233005](#233005) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#233005 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")*

Hi,

Then it means that you're not using that view file because now the tag &lt;!-- PRODUCT IMG --&gt; should appear in the HTML of your pages and it doesn't.
So either you have some cache on your website, you're editing that view file for another template than the one you're using, or you're not using that product box layout (image and title) but another one.

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

- **[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")**
- [![bmichu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32093-bmichu "View bmichu's Profile") Topic Author
- [ Offline](/forum/user/32093-bmichu)

Less More

- Posts: 71
- Thank you received: 0
-
-

10 years 7 months ago [\#233267](#233267) by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile")  Replied by *[bmichu](/forum/user/32093-bmichu "View bmichu's Profile")* on topic *[Images not shown in content display module](/forum/26-product-category-display/882975-images-not-shown-in-content-display-module#233267 "-- url of the page with the problem -- :   www.florentia.ch/  -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.1  Hi,  I have a module that displays all articles of a category. This used to work fine. However now it's not displaying the pictures anymore. The articles appear with Title and price, but no image :-(.  How can this be fixed? Attached the settings for the module.  Thanks Michel")*

Of course.... I edited the wrong template :ohmy:
Pictures are shown now ![:)](/media/kunena/emoticons/3.png ":)")

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODI5NzUtaW1hZ2VzLW5vdC1zaG93bi1pbi1jb250ZW50LWRpc3BsYXktbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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.063 seconds

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