Author Topic: Product page picture's aspect ratio not correct when options is ON  (Read 1641 times)

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile

Hi,

Fresh installed new version 1.2.9, on product page, when product option is on, only the big main picture is shown correctly, the thumbnail pictures will be stretched much higher to fill up the space.

When turn off the options, all pictures are shown correctly. Browse with IE 11, MS Edge and Android phone, all the same.

Screenshots attached.

Please help.

Thank you.

Offline Ollie

  • Sr. Member
  • ****
  • Posts: 253
  • Karma: +27/-1
    • View Profile
    • Assistech
Re: Product page picture's aspect ratio not correct when options is ON
« Reply #1 on: February 05, 2017, 09:58:48 PM »
I would check the settings for Additional Product Image under System > Settings > Appearance and make sure that width and height are the same. I have mine set to 45. Another suggestion: Mouse over the thumbnail image, right-click and select Properties, then look at the URL for the image. Make sure the URL reflects the same width and height: Example: /image/thumbnails/../pktproe13_jpg-101865-45x45.jpg
« Last Edit: February 05, 2017, 10:03:15 PM by Ollie »
Assistive technologies for people with special needs:
https://assistech.com/store/

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4096
  • Karma: +202/-0
    • View Profile
Re: Product page picture's aspect ratio not correct when options is ON
« Reply #2 on: February 06, 2017, 02:03:49 AM »
And do not forget to clear AbanteCart and browser cache
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Re: Product page picture's aspect ratio not correct when options is ON
« Reply #3 on: February 06, 2017, 09:29:37 PM »
Thanks for all your suggests.

By testing different image size, I found:

When additional image set to 45 x 45, the thumbnail pictures are shown in correct aspect ratio.
Ollie, your example is GREAT !  How do you know? ;-)

Set to 60x60, the thumbnail images will be stretched up, set to 80 x 80, then more up. Cleared all caches, no change.
When set to 30x30, the thumbnail images will be squeezed short in height, right click can see correct size 30x30 in properties.

Products with no 'options' will not be affected by image size setting, all images are shown correctly. I don't know why it's like this. Anyway, I just set to 45x45, this problem is resolved.

Thanks again.

« Last Edit: February 06, 2017, 09:37:41 PM by Gleaf »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4096
  • Karma: +202/-0
    • View Profile
Re: Product page picture's aspect ratio not correct when options is ON
« Reply #4 on: February 07, 2017, 01:21:34 AM »
Thanks for details, issue reported to AbanteCart bug tracker https://github.com/abantecart/abantecart-src/issues/775
“Chuck Norris is so amazing.”
― Mother Teresa

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1772
  • Karma: +246/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens


 

Powered by SMFPacks Social Login Mod