Custom field - image, I don't need resizing

  • Posts: 35
  • Thank you received: 0
  • Hikashop Business
11 years 2 months ago #161431

-- url of the page with the problem -- : localhost
-- HikaShop version -- : Business: 2.3.1
-- Joomla version -- :2.5.22
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : FireFox 30.0

I've just bought HS Business running still on localhost.
I added custom product field - image as 'On Stock' 76px × 35px .gif
In the product editor it appears as it is , but frontend it appears resized: 100px × 46px.
It should be as original.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #161433

Hi,

This is because in the configuration > images you have set the size for the thumbnails to "100".
So you can change this option in order to have "76px", or upload your images in the media/com_hikashop/thumbnail/100x46 in order to keep them not resized.

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

  • Posts: 35
  • Thank you received: 0
  • Hikashop Business
11 years 2 months ago #161548

Negative.
The tumbnails size has been set to 140px earlier.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #161960

Hi,

Thanks to check if the image is not just resized by some css properties with your browser console.
It's maybe not resized by HikaShop, but a template css property.

hikashop.com/support/support/documentati...ize-the-display.html

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

  • Posts: 35
  • Thank you received: 0
  • Hikashop Business
11 years 2 months ago #161970

Xavier,
It has been set by Hikashop's 'frontend_default.css' file:

.hikashop_custom_image_link{
width: 100px;
}

...although it is not a link at all...

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

  • Posts: 84298
  • Thank you received: 13697
  • MODERATOR
11 years 2 months ago #162036

Yes, that's what we do do avoid deforming the layout of the website with people uploading wallpapers where there is only the space for a small image on the screen.
You can modify that CSS in order to have what you want.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum