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

#   Last product image is default on product details

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#195443](#195443) by [AMAN](/forum/user/36550-aman "View AMAN's Profile")  *[Last product image is default on product details](/forum/26-product-category-display/875801-last-product-image-is-default-on-product-details#195443 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0  Hello,  I have several product images, but when I enter the product details page, it always starts out displaying the last one, which is the least important, that's why I uploaded it last. Can I make it select the second image, for example, or the first?  Thanks, Irina")* was created by *[AMAN](/forum/user/36550-aman "View AMAN's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0

Hello,

I have several product images, but when I enter the product details page, it always starts out displaying the last one, which is the least important, that's why I uploaded it last. Can I make it select the second image, for example, or the first?

Thanks,
Irina

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU4MDEtbGFzdC1wcm9kdWN0LWltYWdlLWlzLWRlZmF1bHQtb24tcHJvZHVjdC1kZXRhaWxzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 7 months ago [\#195448](#195448) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Last product image is default on product details](/forum/26-product-category-display/875801-last-product-image-is-default-on-product-details#195448 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0  Hello,  I have several product images, but when I enter the product details page, it always starts out displaying the last one, which is the least important, that's why I uploaded it last. Can I make it select the second image, for example, or the first?  Thanks, Irina")*

Hi,

It's not a matter of which one you upload first or last but a matter of what you enter in the "order" fields of the images of the product edition page.
Make sure that the one you want as default has the lower number in that field and that will do it.

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#195515](#195515) by [AMAN](/forum/user/36550-aman "View AMAN's Profile")  Replied by *[AMAN](/forum/user/36550-aman "View AMAN's Profile")* on topic *[Last product image is default on product details](/forum/26-product-category-display/875801-last-product-image-is-default-on-product-details#195515 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0  Hello,  I have several product images, but when I enter the product details page, it always starts out displaying the last one, which is the least important, that's why I uploaded it last. Can I make it select the second image, for example, or the first?  Thanks, Irina")*

Yes, changing the order affects what image is displayed in the product category listing, but what I'm talking about is the big product image first shown when entering the product details page on a product with multiple images. Y ou can see what I mean
[ Here](http://atelieraman.com/en/aman-shop/product/the-hanafubuki-evening-gown).

I have also attached a printscreen. I'd like the page to open on the second image, for example.
In the listing page I have a switch effect on hover between the first and the second product images, so it's important that those first two stay in that order.

Is there any way to choose which image gets zoomed in on the details page?

Many thanks for your help!

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

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 7 months ago [\#195521](#195521) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Last product image is default on product details](/forum/26-product-category-display/875801-last-product-image-is-default-on-product-details#195521 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0  Hello,  I have several product images, but when I enter the product details page, it always starts out displaying the last one, which is the least important, that's why I uploaded it last. Can I make it select the second image, for example, or the first?  Thanks, Irina")*

Hi,

Changing the order as explained by Nicolas should change the image order in the product detail page too.
As the layout on your product detail page don't look like a default layout in HikaShop, I guess that you have an override on the view "product / show_block_img". So please check the code in that view, there is something changing the selection of the main image..

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

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

[](#top)
