Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default Large images displays incorrect size

    Bootstrap 3.7.7-beta1
    Image Handler 5.3.5


    In Admin->Configuration->Images

    IH large images maximum width
    and
    IH large images maximum height

    are set to 'empty', also tried '0' and '1024', but when clicking the product image on the product page, it does not display as the size in my images folder which is 1024px.
    Example here: https://www.usconverters.com/rs232-r...nverter-xs201a

    Any ideas why?

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,741
    Plugin Contributions
    22

    Default Re: Large images displays incorrect size

    It's because the modal window limits the size of its contents. Your image IS being loaded as 1024x1024px, but displayed as 480x480 as that's all that fits in the container (responsive).

    Modal window is set to max-width: 800px, and then if you look at the structure, you'll get down to div id="slider" class="col-lg-8 offset-lg-2", which means 8/12 of the parent. Add some paddings along the way and you get your 480px. You can change it to col-12 (and remove the offset), but you risk additional images going below the viewport so you'd have to scroll down to click on the additional image thumbnail...

  3. #3
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: Large images displays incorrect size

    Quote Originally Posted by balihr View Post
    It's because the modal window limits the size of its contents. Your image IS being loaded as 1024x1024px, but displayed as 480x480 as that's all that fits in the container (responsive).

    Modal window is set to max-width: 800px, and then if you look at the structure, you'll get down to div id="slider" class="col-lg-8 offset-lg-2", which means 8/12 of the parent. Add some paddings along the way and you get your 480px. You can change it to col-12 (and remove the offset), but you risk additional images going below the viewport so you'd have to scroll down to click on the additional image thumbnail...
    Balihr,

    Your very close in solving the issue.

    This what needs to be changed

    find and remove in the html
    Code:
    col-lg-8 offset-lg-2

    find
    Code:
    @media (min-width: 992px) {
        .modal-lg, .modal-xl {
            max-width: 800px;
        }
    repace with

    Code:
    @media (min-width: 992px) {
        .modal-lg, .modal-xl {
            max-width: 1400px;
        }

  4. #4
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,741
    Plugin Contributions
    22

    Default Re: Large images displays incorrect size

    Quote Originally Posted by chadlly2003 View Post
    Balihr,

    Your very close in solving the issue.

    This what needs to be changed

    find and remove in the html
    Code:
    col-lg-8 offset-lg-2

    find
    Code:
    @media (min-width: 992px) {
        .modal-lg, .modal-xl {
            max-width: 800px;
        }
    repace with

    Code:
    @media (min-width: 992px) {
        .modal-lg, .modal-xl {
            max-width: 1400px;
        }
    I would disagree. I'm on a 1920x1200 monitor, no zoom or anything, and with the suggestion I made, additional images are at the very bottom (although still visible). Now try a standard 1920x1080 monitor and you're cutting off the thumbnails in the modal. Even with the modal window being 800px, additional images go below the viewport which is bad UX - user should NOT scroll through the modal window to swap images around. If we let the modal go to 1400, sure, the main image is displayed in full size, but even the main image is cut off and thumbnails are miles down... That's a big no-no from me.

    A much cleaner solution would be to move the thumbs to the side and display a vertical thumbs carousel instead of horizontal, but I'm not familiar enough with this template to just drop the solution here.

  5. #5
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: Large images displays incorrect size

    Quote Originally Posted by balihr View Post
    I would disagree. I'm on a 1920x1200 monitor, no zoom or anything, and with the suggestion I made, additional images are at the very bottom (although still visible). Now try a standard 1920x1080 monitor and you're cutting off the thumbnails in the modal. Even with the modal window being 800px, additional images go below the viewport which is bad UX - user should NOT scroll through the modal window to swap images around. If we let the modal go to 1400, sure, the main image is displayed in full size, but even the main image is cut off and thumbnails are miles down... That's a big no-no from me.

    A much cleaner solution would be to move the thumbs to the side and display a vertical thumbs carousel instead of horizontal, but I'm not familiar enough with this template to just drop the solution here.
    of course the additional images are going to drop down if you make the image 1400px. But tha'ts what he was asking for.

    you can always have 1400px and as you mentioned move the carousel to the left or keep it at the bottom. Simple enough

  6. #6
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default Re: Large images displays incorrect size

    Thanks, I would like to give it a try but I can't find:

    @media (min-width: 992px) {
    .modal-lg, .modal-xl {
    max-width: 800px;
    }

    anywhere. Which file would that be in?

  7. #7
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    374
    Plugin Contributions
    0

    Default Re: Large images displays incorrect size

    you sure the images are being processed by IH?
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  8. #8
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Large images displays incorrect size

    Anyone noting the file extension? .webp

    I'm with Shop Suey, don't think IH is processing these images all the time

    https://www.usconverters.com/rs232-r...nverter-xs201a

    images/xs201a/rs232-rs485-converter.webp

    I am getting intermittent loads of IH processing the images & also not like above
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  9. #9
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default Re: Large images displays incorrect size

    I have selected IH displaying webp images, so I assume IH is handling that. Here are my image settings:
    Name:  ScreenShot-Tool--20260123130351.jpg
Views: 80
Size:  27.7 KB

  10. #10
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    374
    Plugin Contributions
    0

    Default Re: Large images displays incorrect size

    IH processes in real-time anything compatible you throw at it and creates for every size quality optimized cached pre-rendered images.
    If you decide to change quality or size, you clear the IH cache and IH processes at new access.
    This is the magic

    Just compare with one of my shop's product image urls and you'll notice the difference imidiately.
    Last edited by Shop Suey; 23 Jan 2026 at 01:46 PM.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Replies: 7
    Last Post: 25 Feb 2025, 01:43 AM
  2. v154 large images in large/folder/ not showing
    By delia in forum General Questions
    Replies: 5
    Last Post: 15 Sep 2016, 07:58 PM
  3. v150 shopping cart header displays incorrect dollar amount
    By looseshengji in forum General Questions
    Replies: 5
    Last Post: 11 Jun 2012, 02:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg