Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, generally setting height: auto and a relative width (e.g. width: 50%) will allow the image to maintain its aspect ratio when resized.

    Thread Starter vladimir

    (@lomomir)

    When i set width: 50%; for .slb_template_tag_item_content img the width of image is reduced by half.

    Thanks

    Plugin Author Archetyped

    (@archetyped)

    Hi, width: 50% is just an example. The important detail is using height: auto or equivalent CSS so that the image’s aspect ratio is maintained as it is resized by whatever means you’re using to do that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image resolution when downsizing’ is closed to new replies.