• Resolved daddybo

    (@daddybo)


    When I add the wordpress gallery from the media library on a page, it does not get displayed properly in IE (internet explorer). The images are not resized and there is no column structure.

    This is the shortcode:
    [gallery captions="shown" columns="4" size="large" ids="873,832,1092,897,698,617,591,616,341,14" orderby="rand"]

    The gallery displays as expected in Chrome and FireFox and Edge and Safari.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Do you have a link to this?
    Also, which version of IE are you referring to?

    Thread Starter daddybo

    (@daddybo)

    IE 11 on Windows 7
    I’m in maintenance mode can I pm a login to you?

    Theme Author Shaped Pixels

    (@shaped-pixels)

    I just fired up the live demo in my other laptop which has IE11. So it appears for some crazy reason, IE 11 does not accept max-width. So for your gallery being 4 columns, try this custom CSS as an override:

    .gallery-column-4 .gallery-item {
     width: 25%;
    }

    or try this:

    .gallery-item img {
    width:100%;
    }
    Thread Starter daddybo

    (@daddybo)

    I reproduced the problem here:
    https://test.daddybo.org/

    and when I use IE 11 & Windows 7, the gallery has the problems described

    Theme Author Shaped Pixels

    (@shaped-pixels)

    I just updated my last post…at first the custom CSs worked, but then it didn’t, so the second one seems to work.

    Thread Starter daddybo

    (@daddybo)

    Your css
    .gallery-column-4 .gallery-item {
    width: 25%;
    }
    didn’t fix it for me

    Thread Starter daddybo

    (@daddybo)

    Thanks
    Your css displays correctly in IE 11 on Win 7
    .gallery-item img {
    width:100%;
    }

    Thank you.!

    Thread Starter daddybo

    (@daddybo)

    Thanks again, marking as resolved now

    Theme Author Shaped Pixels

    (@shaped-pixels)

    You’re very welcome…I will have to add this to the next update. So it appears what used to be a very annoying issue with Firefox for many years, is doing it in IE 11 as well. But I’m glad to hear the second code worked ??

    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP Gallery in IE browser not displayed properly’ is closed to new replies.