Skip to main content

Enlarge thumbnails in fronend pciture drop area

More
11 years 8 months ago #187877 by PeterChain
-- 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.


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

More
11 years 8 months ago #187889 by Jerome
Hi,
Code:
div.hikamarket_uploader_singleimage_content, div#hikamarket_category_current_image, div#hikamarket_category_image_content { padding:15px 0 5px 8px !important; width:100px; }
And
Code:
.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.

More
11 years 8 months ago #187898 by PeterChain

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.

More
11 years 8 months ago #187911 by PeterChain
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
Code:
$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.158 seconds
Powered by Kunena Forum