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

#   Display Product Image in another Module?

##

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

Less More

- Posts: 39
- Thank you received: 0
-
-

15 years 7 months ago -  15 years 7 months ago [\#11276](#11276) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  *[Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11276 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")* was created by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")*

Hey there,

I'm creating a webpage with Joomla and Hikashop.
Here is my idea:
There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'.
So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description.
My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?)
The Picture in the 'description area' is to small and it should be in the first module in a size I want to select.
I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.

Last edit: 15 years 7 months ago by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjc2LWRpc3BsYXktcHJvZHVjdC1pbWFnZS1pbi1hbm90aGVyLW1vZHVsZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11294](#11294) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11294 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

Hi,

It's not possible with just options in Hikashop. First, it's not possible to display a product page in a module. Second, it's not possible to display the image of a product in another module. You would have to create specific modules for that.

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

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

Less More

- Posts: 39
- Thank you received: 0
-
-

15 years 7 months ago [\#11295](#11295) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  Replied by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11295 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

Isn't it possible to go into the Code and put the image position in another block or something like that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjc2LWRpc3BsYXktcHJvZHVjdC1pbWFnZS1pbi1hbm90aGVyLW1vZHVsZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11305](#11305) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11305 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

It is yes. You can go in the menu Display-&gt;Views and edit the file show of the view product where the product page is generated. There you can modify the code to suits your needs.

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

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

Less More

- Posts: 39
- Thank you received: 0
-
-

15 years 7 months ago -  15 years 7 months ago [\#11326](#11326) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  Replied by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11326 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

First of all thanks for your answer,
I tried to find the file, but I couldn't.
Is this one the right: Hikashop -&gt; config -&gt; Display -&gt; Views -&gt; products - show?

I've found a part in the code which belongs to the image and its margin:

if(!empty($this-&gt;element-&gt;images)){
$image = reset($this-&gt;element-&gt;images);
echo $this-&gt;image-&gt;display($image-&gt;file_path,true,$image-&gt;file_name,'id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link"');
?&gt;

But I don't get it where it says to which module it belongs.
Please help,

Greetings,

David

Last edit: 15 years 7 months ago by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjc2LWRpc3BsYXktcHJvZHVjdC1pbWFnZS1pbi1hbm90aGVyLW1vZHVsZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11327](#11327) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11327 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

That view is used when displaying the product page via the url: [ yourwebsite.com/index.php?option=com\_hik...=show&amp;product\_id=XXX](http://yourwebsite.com/index.php?option=com_hikashop&ctrl=product&task=show&product_id=XXX)
It's not related to modules as it will display on the component area of your template.

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

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

Less More

- Posts: 39
- Thank you received: 0
-
-

15 years 7 months ago [\#11328](#11328) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  Replied by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11328 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

Yeah, I mean that Image, when you click on the Produkt ( not the images of the whole list ).
Can I put it in another module with this file (product - show)? And where can I see in the code to what module it belongs?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjc2LWRpc3BsYXktcHJvZHVjdC1pbWFnZS1pbi1hbm90aGVyLW1vZHVsZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11329](#11329) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display Product Image in another Module?](/forum/4-how-to/11276-display-product-image-in-another-module#11329 "Hey there,  I'm creating a webpage with Joomla and Hikashop. Here is my idea: There are three modules, the first one is in Joomla the Module 'left', right next to it is the post area of the articles in joomla and below both of them is another Module where all the products (listing) are. This module3 has got the width of the two modules above. Now, when I click on a product in module3, the Product and its description &amp; picture is displayed in the post area 'module2'. So in module2 is the small picture (when you click on it, it will be shown it its real size) and the description. My Question now is, if it's possible to put the small picture in the post area (module2) into the module1? (Maybe by changing the php files?) The Picture in the 'description area' is to small and it should be in the first module in a size I want to select. I hope you can understand my idea and sorry for some mistakes, I'm not a native english-speaker.")*

I said in my first post that there is no module at the moment to display a product page. The product page is only displayed on the component area of your template.
If you want to display it in a module, you will have to create a module for that which is not easy to say the least.

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