Enlarge thumbnails in fronend pciture drop area

  • Posts: 634
  • Thank you received: 16
9 years 3 months ago #187877

-- HikaShop version -- : 2.3.5
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6

I want both the main and secondary thumbnails to be changed its size. I don't see the relation with the standard image thumbnail configuration in the hikashop component so it might be some CSS or PHP somewhere but can't get where.

Advise will be appreciated.


Attachments:

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

  • Posts: 26017
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #187889

Hi,

div.hikamarket_uploader_singleimage_content,
div#hikamarket_category_current_image,
div#hikamarket_category_image_content {
	padding:15px 0 5px 8px !important;
	width:100px;
}
And
.hikamarket_small_image_div .hikamarket_image img {
	max-width:50px;
	max-height:50px;
}

Don't hesitate to use your browser developer interface to analyse the CSS rules on the different items.
Like explain in the "customize the display" documentation page.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: PeterChain

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

  • Posts: 634
  • Thank you received: 16
9 years 3 months ago #187898

Jerome wrote: Don't hesitate to use your browser developer interface to analyse the CSS rules on the different items.
Like explain in the "customize the display" documentation page.


Yes I do usually but with Safari and probably with my non "specialist grade" there are some situations in which I am not successful at finding the right CSS. Luckily generally I am.

Anyhow thanks for the advise.

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

  • Posts: 634
  • Thank you received: 16
9 years 3 months ago #187911

Let me add that also this view need to be edited / overrided:

/components/com_hikamarket/views/productmarket/tmpl/form_image_entry.php

and around line 17

$image = $this->imageHelper->getThumbnail(@$this->params->file_path, array(100, 100), array('default' => true));

you have to adapt the array(100, 100) to the size you want the main picture to be.

Otherwise the solution based in CSS only will work for all secondary images but not for the first/main one.

The following user(s) said Thank You: Jerome

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

Moderators: Obsidev
Time to create page: 0.068 seconds
Powered by Kunena Forum