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

#   \[SOLVED\] 1 image only for thumbnail picture

##

- **[alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")**
- [![alain.roger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5399.png)](/forum/user/5399-alain-roger "View alain.roger's Profile") Topic Author
- [ Offline](/forum/user/5399-alain-roger)

Less More

- Posts: 192
- Thank you received: 1
-
-
- [](http://www.korcule-kolieska.sk)
-

14 years 2 months ago -  14 years 2 months ago [\#64391](#64391) by [alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")  *[\[SOLVED\] 1 image only for thumbnail picture](/forum/4-how-to/64391-solved-1-image-only-for-thumbnail-picture#64391 "Hi,  i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ? in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)  thx.")* was created by *[alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")*

Hi,

i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ?
in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)

thx.

---

*What does not kill you, makes you stronger.*

Last edit: 14 years 2 months ago by [alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile").

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 months ago [\#64401](#64401) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: 1 image only for thumbnail picture](/forum/4-how-to/64391-solved-1-image-only-for-thumbnail-picture#64401 "Hi,  i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ? in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)  thx.")*

Hi,

You can do it by adding Code:

array_shift($this-&gt;element-&gt;images)

at the begining of the file show_block_img (go in Display&gt;views and type this name in the search field).
This modification will make the product page display the second image of your product instead of the first one.

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

- **[alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")**
- [![alain.roger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5399.png)](/forum/user/5399-alain-roger "View alain.roger's Profile") Topic Author
- [ Offline](/forum/user/5399-alain-roger)

Less More

- Posts: 192
- Thank you received: 1
-
-
- [](http://www.korcule-kolieska.sk)
-

14 years 2 months ago [\#64407](#64407) by [alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")  Replied by *[alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")* on topic *[Re: 1 image only for thumbnail picture](/forum/4-how-to/64391-solved-1-image-only-for-thumbnail-picture#64407 "Hi,  i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ? in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)  thx.")*

Hi Eliot,

but this doesn't make the thumbnail image hidden from the product page.
it makes only the 1st image not default in the "viewer", but it is still available for a click, no ?

---

*What does not kill you, makes you stronger.*

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 months ago [\#64408](#64408) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: 1 image only for thumbnail picture](/forum/4-how-to/64391-solved-1-image-only-for-thumbnail-picture#64408 "Hi,  i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ? in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)  thx.")*

My bad, I didn't explained well. This modification will display no image ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")**
- [![alain.roger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5399.png)](/forum/user/5399-alain-roger "View alain.roger's Profile") Topic Author
- [ Offline](/forum/user/5399-alain-roger)

Less More

- Posts: 192
- Thank you received: 1
-
-
- [](http://www.korcule-kolieska.sk)
-

14 years 2 months ago [\#64417](#64417) by [alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")  Replied by *[alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")* on topic *[Re: 1 image only for thumbnail picture](/forum/4-how-to/64391-solved-1-image-only-for-thumbnail-picture#64417 "Hi,  i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ? in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)  thx.")*

ok thx for feedback.

just one more question:
such modification means that thumbnail image MUST BE the 1st one saved into DB, am I right ?

---

*What does not kill you, makes you stronger.*

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

14 years 2 months ago [\#64544](#64544) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 1 image only for thumbnail picture](/forum/4-how-to/64391-solved-1-image-only-for-thumbnail-picture#64544 "Hi,  i would like to know if it's possible under your component to have 1 image used ONLY as thumbnail and not visible when user review the details of product ? in fact i'm looking for having a different image for thumbnail and for product detail view (without viewing the thumbnail image)  thx.")*

The images are ordered based on the "ordering" field of the images listing of the product. So you don't have to have them added in a special order as long as the ordering of the images is set properly in your products.

The following user(s) said Thank You: [alain.roger](/forum/user/5399-alain-roger "View alain.roger's Profile")

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

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