# Pré-visualização de imagens em linha às vezes é cortada à esquerda ou à direita por um pixel

**URL:** <https://meta.discourse.org/t/inline-preview-images-are-sometimes-cut-off-left-or-right-by-one-pixel/109941>\
**Category:** Support\
**Created:** [Fevereiro 24, 2019, 10:26am UTC](https://meta.discourse.org/t/inline-preview-images-are-sometimes-cut-off-left-or-right-by-one-pixel/109941 "2019-02-24T10:26:58Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [Fevereiro 24, 2019, 9:04pm UTC](https://meta.discourse.org/t/inline-preview-images-are-sometimes-cut-off-left-or-right-by-one-pixel/109941/9 "2019-02-24T21:04:07Z")

</div>

> [@uwe\_keim](#):
>
> Actually, I do not want borders. I want the images to be scaled to respect the very left and very right pixels.

But the “solution” you linked **adds borders to every image** , which most sites wouldn’t want. Your problem isn’t with Discourse, it’s _with the way in which images are resampled when ImageMagick scales them down_. Adding a border to the image has more of an impact than the CSS change, which by your own admission you don’t want.

Why not [approach ImageMagick](https://github.com/ImageMagick/ImageMagick/issues) and see if they have a solution rather than blaming Discourse, which isn’t responsible. This isn’t a Discourse problem in the slightest.

---

_[View the full topic](https://meta.discourse.org/t/inline-preview-images-are-sometimes-cut-off-left-or-right-by-one-pixel/109941)._
