• Resolved rednas

    (@doppiej)


    Hello,

    I have an automated import of certain products which have different aspect ratios. Some have a bigger width than height and other images the other way around. Cropping the thumbnails is not something I want, because certain information is left out then.

    Is it possible to fit the image inside the container no matter what the height/width or aspect ratio is without cropping?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Mike M. a11n

    (@mikedmoore)

    Automattic Happiness Engineer

    Hi there,

    This sounds like something that could be handled with CSS. You’ll want to target the image itself, making sure that width: 100%; is applied in your CSS.

    Hi there @doppiej,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product thumbnails to fit container or certain aspect ratio’ is closed to new replies.