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

#   Enlarged image showing duplicates of image due to variants

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

2 years 2 months ago [\#363542](#363542) by [chilie78](/forum/user/82798-chilie78 "View chilie78's Profile")  *[Enlarged image showing duplicates of image due to variants](/forum/26-product-category-display/908673-enlarged-image-showing-duplicates-of-image-due-to-variants#363542 "-- url of the page with the problem -- :   flyrc3dprints.com/index.php/shop/airplan...t/1-frsky-tdmx-mount  -- HikaShop version -- : HikaShop Starter 5.1.1 &#91;2409241855&#93; -- Joomla version -- : Joomla! 5.1.4 Stable -- PHP version -- : 8.3.6 -- Browser(s) name and version -- : Firefox v130.0.1  I have started my storefront and have listed multiple products. Every product will have a number of variants due to it being offered in different colors. I have only one image associated with each product. When you click on the image on the product display page to enlarge it, it shows 6 duplicate versions of the same image. Each product has 6 variants so I imagine it has something to do with that. Is there a way to turn off this variant display? I might have products with a few different images, but I don't need images for each variant.")* was created by *[chilie78](/forum/user/82798-chilie78 "View chilie78's Profile")*

-- url of the page with the problem -- : [ flyrc3dprints.com/index.php/shop/airplan...t/1-frsky-tdmx-mount](https://flyrc3dprints.com/index.php/shop/airplane-parts/receiver-mounts/product/1-frsky-tdmx-mount)
-- HikaShop version -- : HikaShop Starter 5.1.1 [2409241855]
-- Joomla version -- : Joomla! 5.1.4 Stable
-- PHP version -- : 8.3.6
-- Browser(s) name and version -- : Firefox v130.0.1

I have started my storefront and have listed multiple products. Every product will have a number of variants due to it being offered in different colors. I have only one image associated with each product. When you click on the image on the product display page to enlarge it, it shows 6 duplicate versions of the same image. Each product has 6 variants so I imagine it has something to do with that. Is there a way to turn off this variant display? I might have products with a few different images, but I don't need images for each variant.

- [ ![Screenshot2024-09-29074050.png](/forum/attachment/59811) ](/forum/attachment/59811 "...9-29074050.png") [ ](/forum/attachment/59811?download=1 "...9-29074050.png")

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

2 years 2 months ago [\#363545](#363545) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Enlarged image showing duplicates of image due to variants](/forum/26-product-category-display/908673-enlarged-image-showing-duplicates-of-image-due-to-variants#363545 "-- url of the page with the problem -- :   flyrc3dprints.com/index.php/shop/airplan...t/1-frsky-tdmx-mount  -- HikaShop version -- : HikaShop Starter 5.1.1 &#91;2409241855&#93; -- Joomla version -- : Joomla! 5.1.4 Stable -- PHP version -- : 8.3.6 -- Browser(s) name and version -- : Firefox v130.0.1  I have started my storefront and have listed multiple products. Every product will have a number of variants due to it being offered in different colors. I have only one image associated with each product. When you click on the image on the product display page to enlarge it, it shows 6 duplicate versions of the same image. Each product has 6 variants so I imagine it has something to do with that. Is there a way to turn off this variant display? I might have products with a few different images, but I don't need images for each variant.")*

Hi,

If you don't need different images for different variants, edit the view file product / show for your frontend template via the menu Display&gt;Views and remove this code: Code:

$this-&gt;setLayout('show_block_img'); echo $this-&gt;loadTemplate();

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

2 years 2 months ago [\#363562](#363562) by [chilie78](/forum/user/82798-chilie78 "View chilie78's Profile")  Replied by *[chilie78](/forum/user/82798-chilie78 "View chilie78's Profile")* on topic *[Enlarged image showing duplicates of image due to variants](/forum/26-product-category-display/908673-enlarged-image-showing-duplicates-of-image-due-to-variants#363562 "-- url of the page with the problem -- :   flyrc3dprints.com/index.php/shop/airplan...t/1-frsky-tdmx-mount  -- HikaShop version -- : HikaShop Starter 5.1.1 &#91;2409241855&#93; -- Joomla version -- : Joomla! 5.1.4 Stable -- PHP version -- : 8.3.6 -- Browser(s) name and version -- : Firefox v130.0.1  I have started my storefront and have listed multiple products. Every product will have a number of variants due to it being offered in different colors. I have only one image associated with each product. When you click on the image on the product display page to enlarge it, it shows 6 duplicate versions of the same image. Each product has 6 variants so I imagine it has something to do with that. Is there a way to turn off this variant display? I might have products with a few different images, but I don't need images for each variant.")*

Thank you for your prompt reply. I could use a little more clarification. I could not locate a file name with the description you outlined. I have included a screenshot of views "Products" that start with a P and couldn't locate the exact file you referenced.
Also, before I edit that code, I wanted to make sure that it will still allow the viewing of multiple images for products that will have more than 1 image associated with it. I just wanted to filter out the variant pictures. Is my understanding of your instructions correct?

- [ ![Screenshot2024-09-30051330.png](/forum/attachment/59812) ](/forum/attachment/59812 "...9-30051330.png") [ ](/forum/attachment/59812?download=1 "...9-30051330.png")

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

2 years 2 months ago [\#363568](#363568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Enlarged image showing duplicates of image due to variants](/forum/26-product-category-display/908673-enlarged-image-showing-duplicates-of-image-due-to-variants#363568 "-- url of the page with the problem -- :   flyrc3dprints.com/index.php/shop/airplan...t/1-frsky-tdmx-mount  -- HikaShop version -- : HikaShop Starter 5.1.1 &#91;2409241855&#93; -- Joomla version -- : Joomla! 5.1.4 Stable -- PHP version -- : 8.3.6 -- Browser(s) name and version -- : Firefox v130.0.1  I have started my storefront and have listed multiple products. Every product will have a number of variants due to it being offered in different colors. I have only one image associated with each product. When you click on the image on the product display page to enlarge it, it shows 6 duplicate versions of the same image. Each product has 6 variants so I imagine it has something to do with that. Is there a way to turn off this variant display? I might have products with a few different images, but I don't need images for each variant.")*

Hi,

You're on the right track. I can see it on the line with the id 31 on your screenshot.
And yes, you'll still be able to have several images per product with this change.

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

2 years 2 months ago [\#363585](#363585) by [chilie78](/forum/user/82798-chilie78 "View chilie78's Profile")  Replied by *[chilie78](/forum/user/82798-chilie78 "View chilie78's Profile")* on topic *[Enlarged image showing duplicates of image due to variants](/forum/26-product-category-display/908673-enlarged-image-showing-duplicates-of-image-due-to-variants#363585 "-- url of the page with the problem -- :   flyrc3dprints.com/index.php/shop/airplan...t/1-frsky-tdmx-mount  -- HikaShop version -- : HikaShop Starter 5.1.1 &#91;2409241855&#93; -- Joomla version -- : Joomla! 5.1.4 Stable -- PHP version -- : 8.3.6 -- Browser(s) name and version -- : Firefox v130.0.1  I have started my storefront and have listed multiple products. Every product will have a number of variants due to it being offered in different colors. I have only one image associated with each product. When you click on the image on the product display page to enlarge it, it shows 6 duplicate versions of the same image. Each product has 6 variants so I imagine it has something to do with that. Is there a way to turn off this variant display? I might have products with a few different images, but I don't need images for each variant.")*

That worked like a champ. Thank you very much!

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

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