Image thumbnail

  • Posts: 7
  • Thank you received: 0
10 years 9 months ago #180972

-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.3.1

Is there any way to let the system show the thumbnail on the right column even if there's only one image uploaded for the selected product? it'll help me a lot :D


thank you so much!!!

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #181020

Hi,

Could you do a modified screenshot of what you want to do exactly so that we can tell you if that's possible and if so how ?

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
10 years 9 months ago #181098

sure :
in the first photo, you can see the product page with more than 1 image uploaded (the system creates the thumbnails on the right column)



in the second one, you can see the product page with just one image uploaded (the systen leaves the righ column empty,no thumbnail is shown)



i'd like to have something like the third photo, with the thumbnail on the right column even with just 1 image uploaded




is it possibile? :D

thank you!

Attachments:
Last edit: 10 years 9 months ago by Jarkheld.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #181122

Hi,

Sure, you have to edit the view "product / show_block_img" via the menu Display > Views of HikaShop and then remove the following code:

 && count($this->element->images) > 1

The following user(s) said Thank You: Jarkheld

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
10 years 9 months ago #181301

it works perfectly :D thanks a lot!!

One last thing: is it possible to remove the pop-up window (onclick function) from both the thumbnails and the main images? i'd like to have just the onmouseover effect. As you can see from the screen i can choose from different types of popups but i cannot remove it:






thank you so so much :D

Attachments:
Last edit: 10 years 9 months ago by Jarkheld.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #181323

Hello,
Using this kind of CSS code will probably do the job :

#hikashop_product_image_main #hikashop_main_image {
pointer-events: none;
cursor: default;
}
#hikashop_product_image_main #hikashop_small_image_div a {
pointer-events: none;
cursor: default;
}

The following user(s) said Thank You: Jarkheld

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
10 years 9 months ago #181477

hi, i can use just the first one:

#hikashop_product_image_main #hikashop_main_image {
pointer-events: none;
cursor: default;
}

while the second one doesn't work as intended, if i add that code in template.css:

#hikashop_product_image_main #hikashop_small_image_div a {
pointer-events: none;
cursor: default;
}

the onmouseover function (which enables the switch of the main image) cease to work aswell, is there any other way to achieve the same result?

thanks a lot

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #181481

Hi,

You can edit the view "product / show_block_img" and remove the onclick data.

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum