# Images returned from image API have a thin black line on the right side

**URL:** <https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002>\
**Category:** CMS\
**Created:** [August 8, 2023, 7:33am UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002 "2023-08-08T07:33:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vperrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/vperrin/32/196_2.png) [@vperrin](https://forum.builder.io/u/vperrin)\
**Post date:** [August 8, 2023, 7:33am UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/1 "2023-08-08T07:33:05Z")

</div>

Hi!

When accessing images through the image API, some of the images have a black line on the right side of 1 pixel wide.  
I was wondering what is causing that. See for example the following pictures below. This is regardless of the size and the format.

Thanks!

[https://cdn.builder.io/api/v1/image/assets%2Fdc5c96804c6c4a068e9558f30660aaee%2F8ecf93b45ae74f85895fdbf424f625b7?format=webp&width=2000](https://cdn.builder.io/api/v1/image/assets%2Fdc5c96804c6c4a068e9558f30660aaee%2F8ecf93b45ae74f85895fdbf424f625b7?format=webp&width=2000)

[https://cdn.builder.io/api/v1/image/assets%2Fdc5c96804c6c4a068e9558f30660aaee%2F517c86dd0f3647ecbba53a5232f893dd?format=webp&width=2000](https://cdn.builder.io/api/v1/image/assets%2Fdc5c96804c6c4a068e9558f30660aaee%2F517c86dd0f3647ecbba53a5232f893dd?format=webp&width=2000)

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [August 11, 2023, 8:02am UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/2 "2023-08-11T08:02:53Z")

</div>

Hi @vperrin,

I have checked both links and haven’t seen any black line on the right side. Neither able to reproduce the issue with new image uploads in my space. Could you please confirm if you’re still facing this issue? (A screenshot would be helpful)

---

<div class="post-metadata">

**Author:** ![vperrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/vperrin/32/196_2.png) [@vperrin](https://forum.builder.io/u/vperrin)\
**Post date:** [August 11, 2023, 12:17pm UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/3 "2023-08-11T12:17:02Z")

</div>

Hi @anon43891756 ,

Thanks for getting back to me.  
Please have a look at the following page, the first image is showing a black line. Screenshot below as well.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/d/db1712fde0a37dce4e156f2e894d1500c879e172.jpeg)

Thanks,  
Vincent

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [August 21, 2023, 3:24pm UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/4 "2023-08-21T15:24:24Z")

</div>

@vperrin, I’ve used the same image CDN links in my space and there’s no default thin black line on any side of an image. I think at your end, some CSS has been applied for the border. Please check the CSS properties or share the builder content entry link so I can help you with this!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/e/e70107a2291b94bd5d125c7519bd51693125b5a0.jpeg)

---

<div class="post-metadata">

**Author:** ![vperrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/vperrin/32/196_2.png) [@vperrin](https://forum.builder.io/u/vperrin)\
**Post date:** [August 21, 2023, 8:59pm UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/5 "2023-08-21T20:59:48Z")

</div>

Hi @anon43891756 ,

Thanks for getting back to me. That is very strange because when I use Postman to make an API call I get the same line.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/9/9d850f538af45189b6728522fde355449d0e83e6.jpeg)

Best,  
Vincent

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [August 22, 2023, 8:58am UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/6 "2023-08-22T08:58:33Z")

</div>

> [@vperrin](#):
>
> [https://cdn.builder.io/api/v1/image/assets%2Fdc5c96804c6c4a068e9558f30660aaee%2F8ecf93b45ae74f85895fdbf424f625b7?format=webp&width=2000](https://cdn.builder.io/api/v1/image/assets%2Fdc5c96804c6c4a068e9558f30660aaee%2F8ecf93b45ae74f85895fdbf424f625b7?format=webp&width=2000)

@vperrin, I tried with Postman as well but again not reproducible at my end. Could you please share the live page link or builder content entry link for further investigation?

---

<div class="post-metadata">

**Author:** ![vperrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/vperrin/32/196_2.png) [@vperrin](https://forum.builder.io/u/vperrin)\
**Post date:** [August 24, 2023, 8:48pm UTC](https://forum.builder.io/t/images-returned-from-image-api-have-a-thin-black-line-on-the-right-side/4002/7 "2023-08-24T20:48:31Z")

</div>

Hi @anon43891756 ,

Thanks for trying.  
See the first picture in the following links  
Builder link: [Builder.io: Drag & Drop Headless CMS](https://builder.io/content/01d2d415d6b84c93b9f7aa5c234816fb)  
Live link: [https://www.sachini.co.uk/](https://www.sachini.co.uk/)

Thanks,  
Vincent
