Title: Image resolution when downsizing
Last modified: January 10, 2024

---

# Image resolution when downsizing

 *  Resolved [vladimir](https://wordpress.org/support/users/lomomir/)
 * (@lomomir)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/image-resolution-when-downsizing/)
 * Hello
 * When i change the resolution to smaller image is deformed but not parallel (width
   and height) and is not centered.
 * [https://screenpal.com/watch/cZVQ3bVHNRD](https://screenpal.com/watch/cZVQ3bVHNRD)
 * Please can you help me with this?
 * Thank you in advance:)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-resolution-when-downsizing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/image-resolution-when-downsizing/#post-17352003)
 * 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](https://wordpress.org/support/users/lomomir/)
 * (@lomomir)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/image-resolution-when-downsizing/#post-17363919)
 * When i set width: 50%; for .slb_template_tag_item_content img the width of image
   is reduced by half.
 * Thanks
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/image-resolution-when-downsizing/#post-17376337)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-lightbox.svg)
 * [Simple Lightbox](https://wordpress.org/plugins/simple-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-lightbox/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Archetyped](https://wordpress.org/support/users/archetyped/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/image-resolution-when-downsizing/#post-17376337)
 * Status: resolved