Your Cart

Centering the images with sides cropped in mobile/tablet screen

These forums are now closed to new replies / tickets.

Please open a support ticket from our new Support page.

Front Page Forums Questions Centering the images with sides cropped in mobile/tablet screen

  • gravatar
    Dominic Teo
    February 26, 2015 at 3:50 pm

    Hi, I’ve implemented a Galleria Twelve theme slideshow
    successfully – responsive and all – but now my client wants the
    slides to behave like the one on this other site:
    http://http://www.lehmannmaupin.com

    => the top and bottom are fixed relative to the window (you
    can see the effect if you stretch or reduce the size of the browser
    window) => when reducing the browser window width, the image
    remains centred while the sides are cropped.

    I’ve tried using a combination of height-width ratio, fixed
    height, imageCrop etc, to no avail.

    I’ve also pored through the discussion panels and knowledge base
    and couldn’t find the solution.

    Please help and I do appreciate any advice. Thanks!

    Dom


Galleria.io uses cookies to store information. You can read more about that in our Privacy Policy. I understand